上安装应用程序创建窗口小部件 [英] Create Widget on Application Installation

查看:116
本文介绍了上安装应用程序创建窗口小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道,有没有什么办法可以让一个Android小工具显示在用户的主屏幕上时,他们安装我的应用程序?另外,我可以让他们选择从内部我的应用程序创建窗口小部件?

解决方案
  

我只是想知道,有没有什么办法可以让一个Android小工具显示在用户的主屏幕上时,他们安装我的应用程序?

没有,对不起。没有你的code安装后得到执行。

  

另外,我可以让他们选择从内部我的应用程序创建窗口小部件?

没有,对不起。只有主屏幕可以添加应用程序,窗口小部件的主屏幕。

I was just wondering, is there any way I can make an android widget show up on a user's home screen when they install my application? Also, can I let them choose to create a widget from within my application?

解决方案

I was just wondering, is there any way I can make an android widget show up on a user's home screen when they install my application?

No, sorry. None of your code gets executed upon install.

Also, can I let them choose to create a widget from within my application?

No, sorry. Only the home screen can add app widgets to the home screen.

这篇关于上安装应用程序创建窗口小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆