How to create an android autostart application?

别说谁变了你拦得住时间么 提交于 2019-12-21 05:33:10

问题


How to create an android autostart application? my app shows special date notifications and it must automatically start. tnx


回答1:


You can use AlarmManager to schedule a time for when you'd like your application to launch. And you can use BroadcastReceiver to launch your app on a specific operating system event such as boot complete.



来源:https://stackoverflow.com/questions/22014178/how-to-create-an-android-autostart-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!