dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by swiftideas 3 years 40 weeks ago

pic
 swiftideas
mobiForge Newbie
Posts: 1
Joined: 3 years ago
[offline]

Hello

Anyone know any good resources for integrating GPS with mobile development?

Need to do some feasibility study for out there ideas. Thanks

Posted by LUA@Sapienza 3 years ago

pic
 LUA@Sapienza
mobiForge Newbie
Posts: 3
Joined: 3 years ago
[offline]

Hi,

I think that when you wrote "mobile development" you meant development of .mobi website.
So, until you are in a web environment you have to deal with a web browser and you're not able to deal with phone's api (including GPS or bluetooth connection), this is the reason why this kind of services are made with j2me or other languages.
Until now we haven't found any browser able to retrieve and send to a web server GPS or other necessary data to locate users. There are some applications that act like a proxy on your phone adding a custom header with GPS coordinates (as you can see here). This kind of solution could have compatibility problems with all different browser you can find on users’ phones.
In your feasibility study you can plan to develop a browser plug-in or another application that can access GPS data and send them to the web server.
You can find other information here and here.
Otherwise you can make an application that opens a link in the phone’s browser with coordinates inside a GET request, it easier but it means that your user have to launch your application every time he changes his position.
What kind of service are you planning ?

LUA - Laboratorio di Usabilità ed Accessibilità - Sapienza -- Università di Roma. Accessibility and Usability Lab - Sapienza University of Rome

Posted by northernguy69 2 years ago

pic
 northernguy69
mobiForge Newbie
Posts: 9
Joined: 2 years ago
[offline]

Just a little update to this article, the BlackBerry is the only device at the moment (that I know of at this point) that allows access via JavaScript to GPS capabilities. The object in question is BlackBerryLocation. You can refer to the following document for more details:

http://docs.blackberry.com/en/developers/deliverables/3850/JavaScript_Reference.pdf

Posted by garbetjie 2 years ago

pic
 garbetjie
Mobile Guru
Posts: 70
Joined: 3 years ago
[offline]

That is a super awesome reference. Thanks for sharing! Just as an aside, you haven't by any chance experimented with using one of the major JavaScript frameworks on Blackberries/other devices? By major frameworks, I mean one of jQuery, Mootools, or other similar framework.

Posted by andres_cor22 2 years ago

pic
 andres_cor22
mobiForge Newbie
Posts: 1
Joined: 3 years ago
[offline]

Maybe you wanna review this http://code.google.com/p/geo-location-javascript/