[英]Can android app do some work without first time launch ( Running it for first time)?
Hey i wanna know if android apps are abble to perform some work like send data to there server accessing system tool and using all permissions it have requested for? 嘿,我想知道android应用是否能够执行某些工作,例如将数据发送到服务器访问系统工具并使用其请求的所有权限? The scenario is, i install an app from google play successfully.
场景是,我从Google Play成功安装了一个应用程序。 I won't open that app.
我不会打开该应用程序。 But i want it to contact its server and exchange some data and use all other permissions.
但我希望它与服务器联系并交换一些数据并使用所有其他权限。 Is this possible?
这可能吗?
您可以使用广播接收器进行尝试,而无需运行某个广播接收器就可以运行该应用程序,然后等待将其广播到接收器,就可以在该接收器类中调用任何您想要的任务...我将它变成一个并进行测试它并在评论中发布github链接
不,该应用程序需要运行一次才能让您执行指定的操作,仅安装是不够的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.