HE XUAN-WEI
HE XUAN-WEI

Reputation: 15

How android LED enabled during use of the app?

Requirement:

The LED lights up and displays a color during the use of the app.

Can the Notification LED be displayed only in the off state?

Is there a way to enable LEDs when using the app?

Or does Android have other APIs to control LED lights?

My app is registered in manifest.

    android:sharedUserId="android.uid.system"

Upvotes: 1

Views: 254

Answers (1)

emandt
emandt

Reputation: 2708

Nope, without Root the LED cannot be directly managed.

Using Root it should be possibile via "/dev/input/event..." interrogation.

Upvotes: 1

Related Questions