Android Studio 3.6 Development Essentials - Java Edition was published on March 30, 2020. The current revision is 1.0. The revision of your copy of the book can be found in the copyright page at the start of the book.
55.7 Modifying the MyWebView Project Manifest File
The example in the book omits the android:host and BROWSABLE declarations in the manifest file of MyWebView project. The declaration should read as follows:
<activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" android:host="www.ebookfrenzy.com"/> </intent-filter> </activity>This declaration can also be configured to use wildcards so that it will work with all URLs. For example:
<data android:scheme="https" android:host="*"/>
If you have encountered an issue with the book not listed above please contact us as at [email protected] and we will work to resolve the issue for you as quickly as possible.