Hello. There was such a problem. It is necessary to transfer the address (string) of another activity implicitly, and it is through putExtra (). I tried to do this:
Uri address = Uri.parse("http://google.by"); Intent intent = new Intent(Intent.ACTION_VIEW); intent.putExtra("uri", address); startActivity(intent); Accept and display as follows:
String uri = getIntent().getStringExtra("uri"); webView.loadUrl(uri); Also added permissions for browser activity:
<uses-permission android:name="android.permission.INTERNET"/> <activity android:label="TestBrowser" android:name="WebActivity"> <intent-filter> <action android:name="android.intent.action.VIEW"/> <data android:scheme="http"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity> But in the list of applications there is no this application. Can that will advise?