How do programmatically turn off GPS on a Blackberry

1.6k views Asked by At

Does anyone know how to programmatically turn off the Blackberry internal GPS receiver?

1

There are 1 answers

3
Richard On

The best you can do is inform the system that your program is no longer interested in positions via the LocationListener interface:

locationProvider.setLocationListener(null, -1, -1, -1);

Access to the GPS is managed through JSR 179 which satisfies all location data requests and manages the GPS hardware to provide service.