tags:

views:

68

answers:

1
// 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

A: 

both the lines are working fine.. tested in 2.1 emulator... with the donate_url= "http://www.google.com"

there must be problem with the url you are using...

check log cat as Pentium10 said.

Vijay C