Sunday, 18 August 2013

how to matain keep the brower showing when Confirmation dialog is showing

how to matain keep the brower showing when Confirmation dialog is showing

In my program I use WebViewClient and override
shouldOverrideUrlLoading()method,in that method, I start a borwser
application like belowF
Uri uri = Uri.parse(url);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
Then the browser opened a download website.
When I pressed the download button in that website, Browser application
went to background and start downloading Confirmation alertdialog is
shown, below the alertdialog, the program which launch the browser can be
seen.
My Problem is how can I do make browser do not go to the background when
Confirmation alertdialog is shown.

No comments:

Post a Comment