如果在啓動後自動啓動並安裝了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