How to open an URL from code in the built-in web browser rather than within my application?
I tried this:
try { Intent myIntent = new Intent(Int
In 2.3, I had better luck with
final Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse(url)); activity.startActivity(intent);
The difference being the use of Intent.ACTION_VIEW rather than the String "android.intent.action.VIEW"
Intent.ACTION_VIEW
"android.intent.action.VIEW"