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
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:
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 LUA@Sapienza 4 years ago
Hi,
I think that when you wrote "mobile development" you meant development of .mobi website.
LUA - Laboratorio di Usabilità ed Accessibilità - Sapienza -- Università di Roma. Accessibility and Usability Lab - Sapienza University of RomeSo, 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 ?
Posted by northernguy69 2 years ago
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
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
Maybe you wanna review this http://code.google.com/p/geo-location-javascript/