开发者

Launch widget from code

开发者 https://www.devze.com 2023-01-15 23:54 出处:网络
Is there any way we can launch the widget from our application immediately without user have to choose the widget.

Is there any way we can launch the widget from our application immediately without user have to choose the widget. So it like automat开发者_JS百科ically add widget to our home screen using code.

Thanks.


No, this cannot be done.


Can be done, if you are willing to modify the Launcher code. But modifying it is not recommended for your purpose as it tightly couples with your app.

0

精彩评论

暂无评论...
验证码 换一张
取 消