android - Intent to launch a website from activity doesn't work after 2-3 times -


i have webview activity , button open website in default browser after user clicks on
show more button.i destoy webview activity after launching browser intent shown in code below.

intent intent = new intent(intent.action_view, uri.parse(url));  intent.addflags(intent.flag_activity_new_task);  context.startactivity(intent);  finish() 

my problem is, i) after launching 2-3 websites using intent stops loading website in browser

ii) launches browser on click of button loads previous url opened in browser.

iii)i tried setting intent.flag_activity_clear_top intent not help.

let me know doing wrong.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -