Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I detect en get acces to the internal GPS of my WT8 Encore tablet (windows 8.1) with a Visual Basic-app. My existing app detects and handles an external GPS receiver, but cannot see the internal GPS.
I found a web-based object that is invoked by a javascript and that works fine with the internal GPS sensor. See: http://msdn.microsoft.com/en-us/library/windows/desktop/dd317709(v=vs.85).aspx. But using a simpel webbrowser in my application to get the data from does not work because it gives no button to accept using location-data like in web-based applications.
Posted
Comments
Sergey Alexandrovich Kryukov 22-Aug-14 16:57pm    
Probably you mean VB.NET, not "VB", right?
—SA
Appie51 24-Aug-14 2:58am    
Yes that's right. See also my comment under the solution from Yvan Rodrigues.

1 solution

There are two common ways that GPS devices (internal or external) interface with wintel computers.

Most connect to a COM port (RS232C), either real or virtual. With these devices you can connect with a terminal application (or read and write the COM port in your case). The GPS sends strings out the port that follow the NEMA 0183 standard. Here is an example in VB.NET: Mapping with a GPS and VB.NET[^]

Other devices do not use a COM port, but some other other proprietary means of communication. In this case the manufacturer includes a driver that one of the Windows location APIs can use.

In your case they did the latter. I think you will find this thread useful.[^]
 
Share this answer
 
Comments
Appie51 23-Aug-14 14:48pm    
Thank you. Meanwhile I was able to read the internal sensor en get the satellite data, but in an indirect way. I downloaded the trial version Localizer from Centrafuse. That application works with the GPS/GNSS sensor driver. It bypasses or somehow uses the Windows Location platform to provide NMEA 0183 standard output from the chipset. Anyway, the output is delivered to applications via a user-selectable virtual com port. My application sees this as a normal serial com port.

What I want is to implement in my own application a location API and a location provider driver to get NMEA strings directly but I coudn't find an example yet how to do that. I am working with VB.Net using Visual Studio 2008 professional or Visual Studio 2013 for desktops Express

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900