.NET question

zerocool1

Diamond Member
Jun 7, 2002
4,486
1
81
femaven.blogspot.com
I'm using the mappoint and smartphone/mobile sdk and I'm trying to pull the latitude and longitude from the smart phone, any ideas on how that'd be done?

Thanks,

Amit
 

UCJefe

Senior member
Jan 27, 2000
302
0
0
As far as I know, every GPS app and API that I have seen always gets its GPS data through some external source (serial, USB, compact flash, bluetooth, etc). I have no idea how (or if it's even possible) to pull the GPS info directly out of the smartphone. Are you sure that your smartphone even has an embedded GPS receiever? I didn't think that there were any phones out there yet that could supply this data without an external unit. A glance at the smartphone SDK doesn't show up anything related to GPS so my guess is that you have to hook up to some external source and read the NMEA (or Garmin) formatted data. Or maybe your particular smartphone will store NMEA strings to flash or something like that.

Anyway, this is not my area of expertise and I'm just guessing here. I do know that www.gpsdotnet.com is pretty much the definitive GPS API in case you have to go down that route. I know that dealing with GPS probably isn't what you want to focus on and you just want lat/long but I'm not sure if you can get at that. Anyway, here's a bump for the more knowledgable smartphone guys