views:

201

answers:

4

Hey Friends
Will J2ME Location Based API work without GPS?can you gave me example?

A: 

Well, the call will work, but how will it know where you are?

See the discussion at Oracle, which says:

"To discover the location of the device, LBS must use real-time positioning methods. Accuracy depends on the method used."

Charlie Martin
What all are the Methods?
Alex Mathew
+2  A: 

I believe it will work, but it will be less accurate because it has to use the cell towers to determine location, not GPS.

Climber104
How can we use cell tower?
Alex Mathew
Will this work? : http://mobiforge.com/developing/story/developing-location-based-services-introducing-location-api-j2me
Alex Mathew
More like this: talks about CellId: http://mobiforge.com/developing/story/adding-location-a-non-gps-phone-introducing-cellid
Climber104
but it will not work in nokia
Alex Mathew
+3  A: 

Depends on the device implementation!

On many devices you can specify the behaviour during accessing the Location API. (Nokia s40 lets you search for bluetooth gps devices e.g.)

If the location API is able to use data like cellID, LAC, ... (if you specify low accuracy criteria) depends on the device implementation and even if your operator lets you use those values. ( http://www.easywms.com/easywms/?q=en/node/3589 )

Many devices do have the API on board even if they are not equipped with gps functionality.

endevour
A: 

In the United States, to provide semi-accurate tracking data for the 911 emergency system, all phones must be able to be located within a few hundred feet. It's done by triangulating distance from the nearest three or so towers.

GPS simply makes that (existing) data more accurate.

Dean J