views:

10

answers:

0

I have an app that launches a browser with a VIEW intent pointing at a URL containing DRMed content (which the browser should then download into the DrmStore). This works perfectly the first time, but on subsequent attempts to download the same file, the browser opens, pops up a dialog saying the content has previously been downloaded and prompting for overwrite and immediately drops into the background, bringing the original app back to the foreground.

Why does this happen in this very specific case, and is there any way of working around it (ie. leaving the browser in the foreground)?

Edit: This has been observed on an HTC Desire; it seems like the text in the dialog is an HTC message rather than a core Android one, so the issue may be HTC specific.