How to add a widget to the Android home screen from my app?

后端 未结 3 1088
夕颜
夕颜 2020-12-04 20:20

I\'m writing an application which should be able to add widgets (just text boxes) to the home screen of the user\'s phone when the user instructs my app to do so. How can I

3条回答
  •  囚心锁ツ
    2020-12-04 21:01

    AFAIK default launcher app does not support this. The reason is that user should place everything on the home screen himself. Allowing to place widgets from an application would open doors for apps to "spam" user's home with their "useful" widgets.

提交回复
热议问题