How To Identify Which File Triggered Download_complete Intent
I'm developing an application that will Download another apk file, and asks for it's installation. Since my target is GingerBread I'm using the DownloadManager class. Is there any
Solution 1:
It's stored in EXTRA_DOWNLOAD_ID:
publicstaticfinalString EXTRA_DOWNLOAD_ID
Since: API Level 9
Intent extra included with ACTION_DOWNLOAD_COMPLETE intents, indicating the ID (as a long) of the download that just completed.
Constant Value: "extra_download_id"
http://developer.android.com/reference/android/app/DownloadManager.html#ACTION_DOWNLOAD_COMPLETE
Post a Comment for "How To Identify Which File Triggered Download_complete Intent"