Changes

Jump to: navigation, search

Android 6 Implicit Intents – A Worked Example

No change in size, 18:55, 30 December 2015
Obtaining the Intent URL
When the implicit intent object is created to display a web browser window, the URL of the web page to be displayed will be bundled into the intent object within a Uri object. The task of the onCreate() method within the MyWebViewActivity class is to extract this Uri from the intent object, convert it into a URL string and assign it to the WebView object. To implement this functionality, modify the onCreate() method in MyWebViewActivity.java so that it reads as follows:
<pre?>
package com.ebookfrenzy.mywebview;

Navigation menu