[英]Android Listen to Installation Notification
Google會在通知菜單中顯示安裝過程的百分比。 有可能聽嗎? 我希望fe收到安裝過程的開始和結束。 我知道可以通過android.intent.action.PACKAGE_ADDED
接收結尾。 但是如何獲得有關開始安裝的信息,或者這次是否從Play商店下載了某些應用?
有可能聽嗎?
不能。您無法監視其他應用程序的Notifications
。
但是如何獲得有關開始安裝的信息,或者這次是否從Play商店下載了某些應用?
您可以修改固件以添加此功能,並將此固件安裝在自己的設備上。
這可能在API 18(android 4.3 jelly bean)上可行: http : //developer.android.com/reference/android/service/notification/NotificationListenerService.html
http://developer.android.com/about/versions/jelly-bean.html#43-beautiful-apps
http://developer.android.com/about/versions/android-4.3.html#NotificationListener
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.