android - Whenever I try to open a url in the internet browser from my application, the browser crashes and says something about an SD card. How can I fix this? -


the browser crashes fast read error can read says sd card. using real android device has sd card installed.

here code of button pressed upen link:

private void gotourl (string url) {     uri uriurl = uri.parse(url);     intent launchbrowser = new intent(intent.action_view, uriurl);     startactivity(launchbrowser); }  public void startnewactivitydresscode (view view) {     intent intent = new intent(intent.action_view,             uri.parse("https://www.adams12.org/files/dms/5060-042613.pdf"));     startactivity(intent); } 


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -