Here is how we can open an URL in Android's web browser.
Just pass the URL in Intent like:
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.evontech.com"));
startActivity(intent);
Also, do not forget to add the internet permission in AndroidManifest.xml,
android:name="android.permission.INTERNET"
Thanks :)
0 Comment(s)