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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

external or internal GPS?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2008, 06:35 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 78
Default external or internal GPS?

how I can find out, if on the device an external or internal GPS is installed with program code?
Reply With Quote
  #2 (permalink)  
Old 07-31-2008, 09:34 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

See this code: http://www.basic4ppc.com/forum/share...ore-files.html
Reply With Quote
  #3 (permalink)  
Old 07-31-2008, 01:21 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

The latest version of autodetect program.
You have to add the DLLs.
The connection to "NIVUT" will not work, its an external application.

It does not detect the software GPS ports that are included as part of WM5 AND wm6, only the HW port.
David
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #4 (permalink)  
Old 07-31-2008, 04:23 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 78
Default

What i wont to do is to detect if there is an internal gps included at the device, if it is there then there is a sub in the programm using GPSint.dll otherwise the sub based on GPS.dll is used. And i am looking for a statement like

if (GPSint) then

intgps 'called sub for GPSint

else

gps 'called sub for GPS Bluetooth p.E.

endif
Reply With Quote
  #5 (permalink)  
Old 07-31-2008, 04:56 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Look at the attached program, in Sub GPS_port_open, the definitions of the registry for internal GPS, if it exists. You need a registry editor or similar program.
__________________
David Erez
Ramat Hasharon, Israel
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
Problem with internal Qualcomm GPS-Chip schimanski Questions (Windows Mobile) 1 11-03-2008 03:36 PM
Get External IP (public IP) maXim Code Samples & Tips 1 05-23-2008 08:09 AM
Get External IP (public) maXim Italian Forum 1 05-20-2008 03:55 PM
External compiler error prinsen Questions (Windows Mobile) 3 03-19-2008 07:54 PM
How to add an external library? ikaplan Questions (Windows Mobile) 2 12-06-2007 09:59 AM


All times are GMT. The time now is 10:11 AM.


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