Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Official Updates
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Official Updates Updates to official libraries could be found here.
This forum is only available to licensed users.

New GPSDriver library

Reply
 
LinkBack Thread Tools Display Modes
  #101 (permalink)  
Old 01-10-2009, 09:42 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Saj View Post
but can't get it connected - it always picks up the internal receiver.
Like Erel said, you need to connect the driver to it.

Start->Settings->System->External GPS->Hardware->GPS hardware port

The COM port you need is the outbound COM port of the virtual Serial Port on your Bluetooth Serial Port service. How you find this depends upon the software the device manufacturer provided to access Bluetooth on your device.
Reply With Quote
  #102 (permalink)  
Old 01-10-2009, 07:29 PM
Saj Saj is offline
Senior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 105
Default

No matter what COM port I put GPS Hardware port to it always resets itself to none, is there a fix for that.

I also tried running the GPSDriver demo on an old hp iPAQ h2200 (Windows CE 4.20) without an internal GPS receiver. It complained about not finding 'gpsapi.dll'. Am i correct in stating that devices without internal GPS must use the previous gps.dll?
Reply With Quote
  #103 (permalink)  
Old 01-11-2009, 04:26 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The GPSDriver is only supported by Windows Mobile 5.0 and newer devices.
__________________
Basic4android documentation
Reply With Quote
  #104 (permalink)  
Old 01-26-2009, 05:10 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

I'm using GPS Driver with a Touch Diamond without problems. I changed the ROM of my P3300 and works ok, but I'm trying to run my app. with a HTC Touch Cruise and I have an error:

Error getting device state.
Error number: 4319
Continue?

It has the newest ROM installed and so on. I don't know what's happening.

Thanks in advance.
Reply With Quote
  #105 (permalink)  
Old 01-26-2009, 05:58 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

I think I've discovered why it fails.

I have updated the 'Quick GPS' app. for first time. Once connected, GPS Driver error has dissapeared and application works fine.
Reply With Quote
  #106 (permalink)  
Old 01-26-2009, 06:08 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

That's interesting! By "updated" I assume you mean you allowed Quick GPS to connect and download new data, not that you "updated" to a different version of the app.
Reply With Quote
  #107 (permalink)  
Old 01-26-2009, 06:30 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

Yes, Update positioning with Quick GPS.

I'm trying again with another new PPC, but I'm afraid this is the answer to all my headaches.
Reply With Quote
  #108 (permalink)  
Old 08-20-2010, 11:17 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 762
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Since I am working on a version of GPS4PPC for marine navigation I thought I should look at the MagneticVariation property of Gpsdriver.

My ancient Garmin GPS-II+ returns 4.2 whereas my slightly younger yellow Etrex gives 2.8. (The built-in Sirf chip in my PPC PDA does not offer MagneticVariation.)

But I believe that MagneticVariation for the UK should be westerly which by the usual convention (and that stated for Gpsdriver) should be negative for westerly.

Does anyone see a negative value for MagneticVariation from their GPS in the UK?

Mike.
Reply With Quote
  #109 (permalink)  
Old 09-11-2010, 10:44 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 762
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
Note my "clean" solution above using a custom number formatting string.
Yes, I just have! It would be nice if there were a note about that in the Help (instead of the implication that only a few restricted Format() layouts will work).

If the complete repertoire is extensive I would be happy with a link to the .NET full definition (if that is where it emanates from).

Mike.
Reply With Quote
  #110 (permalink)  
Old 09-11-2010, 12:18 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

For standard and custom numeric formatting with Format()

Numeric Format Strings

Note that "x" does not work because numbers are Doubles in Basic4ppc and "x" takes integers. Also note that Basic4ppc converts the format string to lower case.


For standard and custom numeric date and time formatting with DateFormat() and TimeFormat()

Date and Time Format Strings

Note that DateFormat replaces "m" with "M". TimeFormat replaces "M" with "m", "S" with "s" and "T" with "t". Date and Time are identical functions but just use the different format strings so they are actually both DateTime format functions but using the slightly differently modified format strings.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 12:23 PM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 10:22 AM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 08:46 PM


All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0