开发者

Is there anyway I can use a BroadcastReceiver to catch DownloadManager.ACTION_DOWNLOAD_COMPLETE in Android?

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜