How do you open a new screen or link through the intent in the fragment activity? See that you have a button at the end how do you open it?
How do you open a new screen or link through the intent in the fragment activity? See that you have a button at the end how do you open it?
Hello, first you must add the internet permission on AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
Then you can call Intent by passing the URI
Uri uri = Uri.parse("https://www.google.com");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);