Changing LED color for notifications

前端 未结 8 1974
囚心锁ツ
囚心锁ツ 2020-12-04 15:56

I am basically just experimenting with Android development, and a couple of days ago I came across this app called \"Go SMS Pro\", which, among other things, can set up noti

8条回答
  •  半阙折子戏
    2020-12-04 16:19

    Leds are a quite non-standard feature in android phones. If you depend in them, you will miss a good chunk of the user base (consider, for example, the SGS phones, which do not even have leds).

    That said, id the int field ledARGB was not useful, you might need to look into some JNI call from that APK. My guess is that it will have different methods depending on the device in which is running.

提交回复
热议问题