Google Announces Android Instant Apps For Better User & Developer Experience

Android Instant App

Google have been working hard to improve Android developer’s experience of building instant apps.

In line with this goal, the company just announced the availability of the Android Instant Apps SDK 1.1 with some highly-requested features such as improved NDK support, configuration APKs for binary size reduction, and a new API to maintain user’s context when they transition from an instant app to the installed app.

As a developer, Android Instant Apps allows Android users to run your apps instantly, without installation. Android users experience what they love about apps—fast and beautiful user interfaces, high performance, and great capabilities—with just a tap.

Configuration APKs allow developers to isolate device-specific resources and native libraries into independent APKs. For an application that uses configuration APKs, the Android Instant Apps framework will only load the resources and native libraries relevant to the user’s device, thereby reducing the total size of the instant app on the device.

Setting up configuration APKs for your app is a simple change to your gradle setup. Just follow the steps in our public documentation.

To extract the internal storage of the instant app, installed apps can now call InstantAppsClient.getInstantAppData() using the Instant Apps Google Play Services API and get a ZIP file of the instant app’s internal storage.

You can check out sample code and documentation for more details on how to use this API.