Dave
Dave

Reputation: 267

How do programmatically turn off GPS on a Blackberry

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

Upvotes: 4

Views: 1636

Answers (1)

Richard
Richard

Reputation: 8920

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.

Upvotes: 1

Related Questions