Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Contributor
Posts: 37
Registered: ‎05-18-2010
My Device: 8350i
My Carrier: Sprint

Check GPS On or Off

Hi All,

 

Is it possible to check if the GPS is ON on the device via api's or we can consider if LocationProvider object is null then GPS is turned off on the device.

 

Thanks,

Nilesh