I want to implement a solution where I want to catch the android.intent.action.DOWNLOAD_COMPLETED
intents from the Android Market App i.e after the download of
First register the reciever
registerReceiver(onComplete,
new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE));
And set a BroadcastReciever to capture the event.
BroadcastReceiver onComplete=new BroadcastReceiver() {
public void onReceive(Context ctxt, Intent intent) {
// run your action here
}
};