如果在启动后自动启动并安装了Android应用程序,它是否在/sdcard
上?Android - 如何在启动后在/ SD卡上启动应用程序
好的,可能是BroadcastReceiver
。但是哪个行动是正确的?
ACTION_BOOT_COMPLETED - does not work if it is on the /sdcard (documented)
ACTION_MEDIA_MOUNTED - does not work if it is on the /sdcard (which is undocumented)
ACTION_EXTERNAL_APPLICATIONS_AVAILABLE - does not work, I do not know why
ACTION_USER_PRESENT - does not work if the BroadcastReceiver is registered in AndroidManifest (which is undocumented, but documentation bug has been reported)
由于
扬
你有没有解决过这个问题?我现在有类似的问题。 – 2013-01-09 11:26:58
您的问题帮助我找到我的答案,谢谢。 :D – 2013-08-14 14:45:19
如果您觉得有帮助,您应该接受答案。 – 2015-06-03 05:41:14