Android - browser and download notification
If I use "intent" to download a file with Android browser like tha开发者_JAVA技巧t:
Intent downloadIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://myserver.com/picture1.jpg"));
startActivity(downloadIntent);
Can I catch some event when the browser finish the download?
No, you will have to implement your own WebView
. Once you have done so, you must set a WebViewClient
and overwrite the onPageFinished
method.
精彩评论