I am working on an android application which is related to security. It is about scanning an application after it is downloaded from android market.
Is there anyway I can use a BroadcastReceiver
to catch DownloadManager.ACTION_DOWNLOAD_COMPLETE
?
I checked a couple of article but at time now the api's are hidden. Is there anyway I can use re开发者_开发技巧flection method or something like to do this?
look at this example
you need to use downloadManager class which is available in api 9 or above which calls a broadcast receiver on completion.
http://www.vogella.de/blog/2011/06/14/android-downloadmanager-example/
精彩评论