Changes

Jump to: navigation, search

An Android Instant App Tutorial

29 bytes added, 15:29, 16 January 2019
no edit summary
On the next screen, select the Empty Activity template before proceeding to the final screen. Since the Instant App option was selected, the activity configuration screen will provide fields within which to specify an app link for this activity. Activate these options by enabling the Associate a URL with this Activity option. Specify example.com as the Instant App URL Host, select the Path option from the Instant App URL Route Type and enter /home as the route URL. Name the activity InstantAppActivity and the layout activity_instant_app before clicking on the Finish button to create the new project.
== Reviewing Reviewing the Project ==
Based on the selections made, Android Studio has actually completed all of the work necessary to support both installed and instant app builds of the project. All that would be required to complete the app is to implement the functionality in the main activity and to add other feature modules if needed.
Select a suitable deployment target and verify that the APK installs and the app launches.
<htmlet>androidstudio32</htmlet>
== Testing the Instant App ==

Navigation menu