08-11-2010 07:15 AM
We are testing the geolocation capabilities on the BB curve 8520, Orange France network,
We tried the first solution:
BlackBerryCriteria bbCriteria = new BlackBerryCriteria();
BlackBerryLocationProvider bbProvider = (BlackBerryLocationProvider)
BlackBerryLocation bbLocation = bbProvider.getLocation(120);
and the second solution:
Criteria criteria = new Criteria();
LocationProvider provider = LocationProvider.getInstance(criteria);
Location location = provider.getLocation(100);
Both of the solutions give us a null location because the getState() method of the location provider returns "OUT_OF_SERVICE.
Here is how I got the state:
System.out.println(" LocationProvider is AVAILABLE");
System.out.println(" LocationProvider is TEMPORARILY_UNAVAILABLE");
System.out.println(" LocationProvider is OUT_OF_SERVICE");
Does the BB curve 8520 really support cell site geolocation?
Thanks for your kind help.
08-11-2010 08:31 AM - edited 08-11-2010 08:33 AM
The 8520 does not even have GPS, does it?
Here is another thread on the same device, same issue (posted earlier today).
08-11-2010 10:15 AM
No it doesn't have GPS. That's why I used the cell site to get the location (see the code).
In the devblog of Blackberry, http://devblog.blackberry.com/2010/07/blackberry-g
it seems that they should support 8250 by using cell site.
Can someone confirm it?
08-11-2010 11:15 AM
It should support it, assuming you have OS 5.0 installed, and, it says in the article:
"users must be signed up with a carrier that has enabled these capabilities"
08-11-2010 11:23 AM
Yes, I have OS 5 and they even confirmed in one of the comments on the devblog that in the network of Orange France the cell site location is supported.
I tested with Bold 9000, that works when I disactivate the GPS. I got my location correctly by cell site.
But the same code doesn't work with curve 8520. My application will be meaningless if I cannot get longitude and latitude. Thanks for your help.