Zelig
Zelig

Reputation: 157

Controlling hardware functionality

In an Android application written in Java, I want to be able to turn on/off hardware features like GPS, WiFi, Bluetooth etc.

How can I do that?

Upvotes: 0

Views: 254

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006839

I want to be able to turn on/off hardware features like GPS, WiFi, Bluetooth... How can I do?

Generally speaking, you don't.

You are welcome to examine the android.provider.System.Settings class to see what you can and cannot control. Most of what you list you cannot control.

Upvotes: 1

Related Questions