J2ME API (JSR 179) on non-GPS devices

The Java ME Location API supports:

  • Positioning based on the mobile network.
  • GPS
  • Short-term beacons

Quite a few phones support this API (JSR179). However, some phones do not have a built-in GPS module, can this API be used to get the current location of the phone?

+2


source to share


2 answers


Positioning based on the mobile network.

The security settings will be monitored, if you can access it, the service provider may also charge you.



From my very limited J2ME experience, you can set up a phone to deny access to private data (like location) for an app as well as pay for services (like location) - you can also set it to popup request to authorize a user.
J2ME is pretty well designed to gracefully go back to what's available and hide a lot of detail.

+2


source


Yes, some GPSless S60s (like the N70) provide location via this API when used with an external GPS device connected via Bluetooth. Others can provide you with an approximate location using CellID.



+1


source







All Articles