01-25-2012 10:29 AM - edited 01-25-2012 10:30 AM
I need to be able to compute very quickly GPS coordinates and the only performance which is good enogh is provided by the cellsite/geolocation mode in gps. The rest are just too slow during the initial satelite locking and often are unable to deliver any valid data if there is no view of the sky.
So I need some online service like Google Gears(unfortunately google gears has been discontinued) which can accept requests and give me information for my location(latitude, longitude) based on the data I provide(cell id, mnc, mcc, network name etc.)
For OS6 devices I utilize the Blackberry APIs successfully but for 5.0 Pearl 9100 in a GSM network cellsite/geolocation seems to be non available - the location provider for the criteria is null.
01-25-2012 06:44 PM
Check the diagnostic code avallable here:
You migth find you have coded it wrong and CellSite is available. I had.
01-26-2012 03:16 AM
01-26-2012 06:31 AM
I am testing on Pearl 9100 and Bold 9000(updated to 5.0).
On Torch 9800 and Bold 9780 both with os 6.0 the code works well.
All the devices are in a GSM network.
Here is how I setup the criteria:
Criteria c = new Criteria(); c.setPreferredPowerConsumption(Criteria.POWER_USAG
E_LOW); c.setHorizontalAccuracy(Criteria.NO_REQUIREMENT); c.setVerticalAccuracy(Criteria.NO_REQUIREMENT); c.setCostAllowed(true);
01-26-2012 06:43 AM
OK, I'm going to struggle to test those devices with SIMs in sorry.
Hopefully someone else can.
Just checked my criteria and the only difference is that I use:
This is production code and I have not had any reports of issues, but that doesn't mean anything....