BT

InfoQ Homepage News Google Makes Android Apps Run without Install

Google Makes Android Apps Run without Install

Bookmarks

Google has announced Android Instant Apps during Google I/O keynote, enabling applications to run without having to install them first.

One of the new Android features announced during the keynote at Google I/O 2016 was Android Instant Apps. Companies interested in implementing deep linking – Apple, Facebook, Twitter, URX – are trying to convince application developers to index their applications with deep links, so when a user taps on a deep link is taken to a certain page within the application. (For more details on how deep links work we recommend this InfoQ post). But that requires the application to be installed first. Google was initially pursuing this idea too, but now they have come up with a tweak that implements deep links in Android without having to install an application. When a user taps on a deep link, the related application is downloaded and the corresponding activity is shown even if the application has not been previously installed. Google showed such instant applications running inside other applications. The user experience was seamless, returning to the initial app after the user was done with the instant one. The users can be provided with the option to permanently install the application if they choose to.

In demos shown during the keynote, the target applications loaded pretty fast, and some commented that they loaded faster than a web page in Chrome in their hands-on test. That is possible because the application to be loaded is prepared by being split up in modules, and only the desired module is loaded. To make it work properly, developers will have to modularize their applications. It is the same application, the same source code, but there are two builds generated: one for the regular installable APK and a modular one for instant run. The later is also stored on Google Play, without requiring anything special from developers. According to Google, preparing an application for instant run usually takes less than a day, but the effort required depends on how an application is structured.

An instant application needs Play Services and it runs on API level 16+, that is Android Jelly Bean 4.1+. Android Instant Apps will use the permission scheme introduced with Marshmallow. And “if an app supports the permission model introduced in Android 6.0 (API level 23), it does not require any additional work to become an Instant App that runs on older devices,” according to Google. Also, some features are not available for Instant Apps, such as background services, background notifications or unique device identifiers.

Android Instant Apps are currently in preview, those interested being invited to fill in an Interest Form. Instant Apps will be generally made available later this year.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • No Rocket Science of Google

    by Bhavik Sarkhedi /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Google is invading seizing and grabbing every opportunity to claim every aspect of technology trends of present and future

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.