Reputation: 15
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
Reputation: 2708
Nope, without Root the LED cannot be directly managed.
Using Root it should be possibile via "/dev/input/event..." interrogation.
Upvotes: 1