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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -