I'm searching for a way to give the user the chance to get to a link of a website easily. Therefore I want to sent an Intent, to open youtube and let the user search the link. But there's no way to get the webpages the user visited once the intent was sent. I also tried to embed a Webbrowser but with the following code, the device just opens the browser... What else can I do to let the User brwose and then give me the link?
WebView engine = (WebView) findViewById(R.id.web_engine);
engine.loadUrl("http://www.youtube.com");
engine.getSettings().setJavaScriptEnabled(true);
<WebView android:id="@+id/web_engine"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>