Can I parse uri from resource?

Posted by DYH1919 on Stack Overflow See other posts from Stack Overflow or by DYH1919
Published on 2010-03-18T10:27:00Z Indexed on 2010/03/18 10:31 UTC
Read the original article Hit count: 347

Filed under:
|
// startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.donate_url))));
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")));

when I use the first,app will crash in emulator but the second run well, how can I fix the first?

thanks for help

© Stack Overflow or respective owner

Related posts about android

Related posts about uri