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
  #91 (permalink)  
Old 01-07-2009, 08:55 PM
Saj Saj is offline
Senior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 105
Question Device State error

Erel, i've tried running GPSDriver example on my hTC (Windows Mobile 6.1). It runs ok except for the following error:
Attached Images
File Type: jpg GPS-Demo Error.jpg (27.8 KB, 37 views)
Reply With Quote
  #92 (permalink)  
Old 01-08-2009, 06:33 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Try to comment this line and see if it works.
Which device are you using?
This library was tested with several HTC devices.
__________________
Basic4android documentation
Reply With Quote
  #93 (permalink)  
Old 01-08-2009, 10:12 PM
Saj Saj is offline
Senior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 105
Default

I've got the hTC TyTN II. I commented out line 28 and it then fails in line 29. Error msg attached.
Attached Images
File Type: jpg GPS-Demo Error2.jpg (17.8 KB, 14 views)
Reply With Quote
  #94 (permalink)  
Old 01-09-2009, 06:28 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There is some problem with the GPS Intermediate driver on your device.
Maybe it is not configured properly.
__________________
Basic4android documentation
Reply With Quote
  #95 (permalink)  
Old 01-09-2009, 03:23 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

Hi Erel,

Finally I can use the GPSDriver Lib in my P3300 and Diamond. I had to change the WM5 to WM6 ROM (P3300)

But.... If I want to use a BT GPS? How must I do? All my testings were unsucessful.

In my Diamong when I'm going to change parameters in the 'Settings.exe' App, it appears the message 'You have insufficient permissions to map the hardware port'

Any ideas?

Thanks in advance.
Joan
Reply With Quote
  #96 (permalink)  
Old 01-09-2009, 03:33 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should use the built-in settings program not the one from this thread. It is probably named "External GPS" and you can reach it by choosing Menu - Settings.
__________________
Basic4android documentation
Reply With Quote
  #97 (permalink)  
Old 01-09-2009, 04:28 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

I have the same problem. Whatever change I make, when starts again it remains the old configuration.
Reply With Quote
  #98 (permalink)  
Old 01-09-2009, 04:46 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There are device specific forums here: http://forum.xda-developers.com/index.php
Maybe you can find the answer there.
__________________
Basic4android documentation
Reply With Quote
  #99 (permalink)  
Old 01-09-2009, 08:51 PM
Saj Saj is offline
Senior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 105
Default

Erel, I've done a hard reset and the demo still falls over on the same lines. I've noticed however that when the hTC TyTN II is powered by an external power supply (i.e hooked upto me PC) it doesn't fall over, but soon as the PDA is powered off the error occurs. Does that shed any light?

Also, how do I get the demo to use a bluetooth receiver? I've looked through this thread but can't get it connected - it always picks up the internal receiver.
Reply With Quote
  #100 (permalink)  
Old 01-10-2009, 08:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It seems to be some problem with your device.

To use this library with an external GPS you need to change the driver settings. You should set the driver to use the bluetooth virtual serial port instead of the internal gps port.
__________________
Basic4android documentation
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:53 AM.


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