diff options
31 files changed, 350 insertions, 0 deletions
diff --git a/docs/html/images/topic/instant-apps/3D-Image-viewer.gif b/docs/html/images/topic/instant-apps/3D-Image-viewer.gif Binary files differnew file mode 100644 index 000000000000..b46f2d95bcb0 --- /dev/null +++ b/docs/html/images/topic/instant-apps/3D-Image-viewer.gif diff --git a/docs/html/images/topic/instant-apps/BandH-Photo.gif b/docs/html/images/topic/instant-apps/BandH-Photo.gif Binary files differnew file mode 100644 index 000000000000..fa2cdfc81386 --- /dev/null +++ b/docs/html/images/topic/instant-apps/BandH-Photo.gif diff --git a/docs/html/images/topic/instant-apps/Buzzfeed.gif b/docs/html/images/topic/instant-apps/Buzzfeed.gif Binary files differnew file mode 100644 index 000000000000..af7cc6641c11 --- /dev/null +++ b/docs/html/images/topic/instant-apps/Buzzfeed.gif diff --git a/docs/html/images/topic/instant-apps/Park-and-Pay.gif b/docs/html/images/topic/instant-apps/Park-and-Pay.gif Binary files differnew file mode 100644 index 000000000000..f5cbfb0d77ca --- /dev/null +++ b/docs/html/images/topic/instant-apps/Park-and-Pay.gif diff --git a/docs/html/images/topic/instant-apps/instant-apps-section-2.png b/docs/html/images/topic/instant-apps/instant-apps-section-2.png Binary files differnew file mode 100644 index 000000000000..8060c5764300 --- /dev/null +++ b/docs/html/images/topic/instant-apps/instant-apps-section-2.png diff --git a/docs/html/images/topic/instant-apps/instant-apps-section-4.png b/docs/html/images/topic/instant-apps/instant-apps-section-4.png Binary files differnew file mode 100644 index 000000000000..8e0fcf80055e --- /dev/null +++ b/docs/html/images/topic/instant-apps/instant-apps-section-4.png diff --git a/docs/html/images/topic/instant-apps/instant-apps-section-5.png b/docs/html/images/topic/instant-apps/instant-apps-section-5.png Binary files differnew file mode 100644 index 000000000000..e92ec8060177 --- /dev/null +++ b/docs/html/images/topic/instant-apps/instant-apps-section-5.png diff --git a/docs/html/images/topic/instant-apps/play-services-features-2x.png b/docs/html/images/topic/instant-apps/play-services-features-2x.png Binary files differnew file mode 100644 index 000000000000..098f91cd6722 --- /dev/null +++ b/docs/html/images/topic/instant-apps/play-services-features-2x.png diff --git a/docs/html/images/topic/instant-apps/s3-BandH-animated.gif b/docs/html/images/topic/instant-apps/s3-BandH-animated.gif Binary files differnew file mode 100644 index 000000000000..efa882740cb5 --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-BandH-animated.gif diff --git a/docs/html/images/topic/instant-apps/s3-BandH-static.png b/docs/html/images/topic/instant-apps/s3-BandH-static.png Binary files differnew file mode 100644 index 000000000000..004afb7b4a93 --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-BandH-static.png diff --git a/docs/html/images/topic/instant-apps/s3-BuzzFeed-animated.gif b/docs/html/images/topic/instant-apps/s3-BuzzFeed-animated.gif Binary files differnew file mode 100644 index 000000000000..16c461942671 --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-BuzzFeed-animated.gif diff --git a/docs/html/images/topic/instant-apps/s3-BuzzFeed-static.png b/docs/html/images/topic/instant-apps/s3-BuzzFeed-static.png Binary files differnew file mode 100644 index 000000000000..cdd0dc8844fb --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-BuzzFeed-static.png diff --git a/docs/html/images/topic/instant-apps/s3-ParkandPay-animated.gif b/docs/html/images/topic/instant-apps/s3-ParkandPay-animated.gif Binary files differnew file mode 100644 index 000000000000..f5cbfb0d77ca --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-ParkandPay-animated.gif diff --git a/docs/html/images/topic/instant-apps/s3-ParkandPay-static.png b/docs/html/images/topic/instant-apps/s3-ParkandPay-static.png Binary files differnew file mode 100644 index 000000000000..1e07a74cc760 --- /dev/null +++ b/docs/html/images/topic/instant-apps/s3-ParkandPay-static.png diff --git a/docs/html/images/topic/instant-apps/upgrade-your-app-2x.png b/docs/html/images/topic/instant-apps/upgrade-your-app-2x.png Binary files differnew file mode 100644 index 000000000000..60fe3736bd18 --- /dev/null +++ b/docs/html/images/topic/instant-apps/upgrade-your-app-2x.png diff --git a/docs/html/topic/instant-apps/faqs.jd b/docs/html/topic/instant-apps/faqs.jd new file mode 100644 index 000000000000..0a1f571d9030 --- /dev/null +++ b/docs/html/topic/instant-apps/faqs.jd @@ -0,0 +1,69 @@ +page.title=Android Instant Apps: Frequently Asked Questions +page.tags=Material,design +footer.hide=true +forcelocalnav=true +@jd:body + +<p> + <strong>What devices are compatible with Android Instant Apps?</strong> + <br/> + Android Instant Apps is compatible with devices that are running Android 4.1 + (API level 16) or higher and have Google Play services installed. +</p> + +<p> + <strong>Do developers need to build two different Android apps now?</strong> + <br/> + Developers only need to maintain one project with one source tree. + Developers simply configure the project to create two build artifacts: the + installable APK and the instant version. + Some developers can take less than a day to get up and running, + though the effort involved varies depending on how the + app is structured. +</p> + +<p> + <strong>What Android APIs and functionality can Instant Apps use?</strong> + <br/> + Android Instant Apps functionality complements an existing Android app, + but does not replace it. Android Instant Apps uses the same Android APIs, the + same project, the same source code. Android Instant Apps restricts some + features that might not match users' expectations of an app + that is not installed. + For example, an Instant App can't use background services, do background + notifications, or access unique device identifiers. +</p> + +<p> + <strong>Can users choose to install the app permanently?</strong> + <br/> + Developers can allow users to download the app from the Google Play + Store. After download, the app remains on the phone after the user has left + the experience. +</p> + +<p> + <strong>How do permissions work in Android Instant Apps?</strong> + <br/> + Android Instant Apps uses the runtime permissions model introduced in + Android 6.0. + 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. +</p> + +<p> + <strong>How do developers publish these apps?</strong> + <br/> + Developers publish their Instant Apps through the Google Play Developer + Console, similar to their existing Android apps. +</p> + +<p> + <strong>How can developers get involved?</strong> + <br/> + Developers interested in upgrading their Android apps can visit + <a class="external-link" href="g.co/InstantApps">g.co/InstantApps</a> to + sign up. We will be reaching out to interested + developers in the coming months. +</p>
\ No newline at end of file diff --git a/docs/html/topic/instant-apps/index.jd b/docs/html/topic/instant-apps/index.jd new file mode 100644 index 000000000000..28540aecfaa4 --- /dev/null +++ b/docs/html/topic/instant-apps/index.jd @@ -0,0 +1,281 @@ +fullpage=true +page.title=Android Instant Apps +page.viewport_width=970 +meta.tags="instant apps, getstarted, sdk, appquality, landing" +section.landing=true +header.hide=1 +carousel=1 +tabbedList=1 +excludeFromSuggestions=true +@jd:body + +<!-- Hero section --> +<section class="dac-expand dac-hero dac-section-light"> +<div class="wrap"> +<h1>Android Instant Apps</h1> +<p class="sub-head"> + Native Android apps, without the installation +</p> + +<p class="dac-hero-description"> + An evolution in app sharing and discovery, Android Instant Apps enables + Android apps to run instantly, without requiring installation. + Instant Apps lets you experience what you love about apps — fast and + beautiful user interfaces, high performance, and great capabilities — + with just a tap. +</p> + +<p class="dac-hero-description"> + Request early access to the Instant Apps documentation today. +</p> + +<p style="margin-top:24px"> + <a class="landing-button green download-bundle-button" + href="https://docs.google.com/a/google.com/forms/d/1S3MzsMVIlchLCqyNLaFbv64llxWaf90QSeYLeswco90/viewform" + target="_blank"> + I'M INTERESTED IN ANDROID INSTANT APPS<br> + </a> +</p> +</div> +</section> + +<!-- Second section --> + +<div class="wrap" style="margin-top:60px"> +<div class="cols dac-hero-content"> + <div class="col-1of2 dac-hero-figure"> + <img src="/images/topic/instant-apps/instant-apps-section-2.png"> + </div> +<div class="col-1of2"> +<div class="dac-hero-tag"></div> + + <h2 id="section-2">Run Android Apps Without Installation</h2> + <p class="dac-hero-description"> + Android Instant Apps lets you experience beautiful and immersive + apps, with material design and smooth animations, without installing them + on your device. + </p> + +</div> +</div> +</div> + +<!-- Third section --> + +<div class="wrap" style="margin-top:60px"> + + <h2 id="section-3">Access Apps From Anywhere</h2> + + <p> + Get people to your flagship Android experience from links that would + otherwise open your mobile web page — like + search, social media, messaging, and other deep links — without them + needing to stop and install your app first. + </p> + + <div class="cols" style="margin-top:1em;"> + <div class="col-4of12 gif-container"> + <img class="partner-gifs" + src="/images/topic/instant-apps/s3-BandH-static.png"> + <p class="figure-caption"> + <em>B&H Photo<br/> + (via Google Search)</em> + </p> + </div> + + <div class="col-4of12 gif-container"> + <img class="partner-gifs" + src="/images/topic/instant-apps/s3-BuzzFeed-static.png"> + <p class="figure-caption"> + <em>BuzzfeedVideo<br/> + (via a shared link)</em> + </p> + </div> + + <div class="col-4of12 gif-container"> + <img class="partner-gifs" + src="/images/topic/instant-apps/s3-ParkandPay-static.png"> + <p class="figure-caption"> + <em>Park and Pay<br/> + (via NFC)</em> + </p> + </div> + </div> +</div> + +<!-- Fourth section --> + +<div class="wrap" style="margin-top:60px"> +<div class="cols dac-hero-content"> + <div class="col-1of2 dac-hero-figure"> + <img src="/images/topic/instant-apps/instant-apps-section-4.png"> + </div> +<div class="col-1of2"> +<div class="dac-hero-tag"></div> + + <h2 id="section-4">Built On Google Play Services</h2> + <p class="dac-hero-description"> + Take advantage of Google Play services features — like location, identity, + payments, and Firebase — which are built right in for a seamless user + experience. + </p> + +</div> +</div> +</div> + +<!-- Fifth section --> + +<div class="wrap" style="margin-top:60px"> +<div class="cols dac-hero-content"> + <div class="col-1of2 col-push-1of2 dac-hero-figure"> + <img src="/images/topic/instant-apps/instant-apps-section-5.png"> + </div> +<div class="col-1of2 col-pull-1of2"> +<div class="dac-hero-tag"></div> + <h2 id="section-5">Works On Most Android Devices</h2> + + <p class="dac-hero-description"> + + Android Instant Apps can work on Android devices running Android 4.1+ + (API Level 16) or higher with Google Play services. + </p> + +</div> +</div> +</div> + +<!-- Sixth section --> + +<div class="wrap" style="margin-top:60px"> +<div class="cols dac-hero-content"> + <div class="col-1of2 dac-hero-figure"> + <img src="/images/topic/instant-apps/upgrade-your-app-2x.png"> + </div> +<div class="col-1of2"> +<div class="dac-hero-tag"></div> + + <h2 id="section-6">Upgrade Your Existing App</h2> + <p class="dac-hero-description"> + Android Instant Apps functionality is an upgrade to your existing Android + app, not a new, separate app. It's the same Android APIs, the same + project, the same source code. It can take less than a day to get + up and running for some developers, though the effort involved varies, + depending on how your app is structured. You modularize your app, + and Google Play downloads only the parts that are needed, on the fly. + </p> + +</div> +</div> +</div> + +<!-- Seventh section --> + +<div class="wrap" style="margin-top:60px" id="section-7"> + <h2 id="sign-up-docs" style="margin-bottom: 0px;"> + Sign up for access to Android Instant Apps documentation + </h2> + + <p> + We’ll let you know if you’re selected for early access + to Android Instant + Apps. + </p> + + <p> + <a class="landing-button green download-bundle-button" + href="https://docs.google.com/forms/d/1S3MzsMVIlchLCqyNLaFbv64llxWaf90QSeYLeswco90/viewform" + target="_blank"> + I'M INTERESTED IN ANDROID INSTANT APPS<br> + </a> + </p> + + <p style="margin-top:24px"> + Check out our <a href="faqs.html">frequently asked questions</a> to find out + more about Android Instant Apps. + </p> +</div> + +<style> + + /* Sub-heading styling */ + .sub-head { + font-size: 28px; + line-height: 125%; + } + + /* Background color for hero module. */ + .dac-section-light { + background: #B0BEC5; + } + + /* Styling and layout for video. */ + .dev-bytes-video { + margin-top: 30px; + position: relative; + padding-bottom: 56.25%; /* 16:9 */ + padding-top: 30px; + height: 0; + } + + .dev-bytes-video iframe, + .dev-bytes-video object, + .dev-bytes-video embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + /* Increase top margin for sections */ + .wrap { + margin-top: 1.5em; + } + + #section-3, #sign-up-docs { + margin-top: 0px; + border-top: 0px; + } + + /* Align the seventh section in the center. */ + #section-7 { + text-align: center; + } + + /* GIF section styling */ + .figure-caption { + text-align: center; + } + + .partner-gifs { + width: 80%; + height: auto; + } + + .gif-container { + text-align: center; + } + +</style> + +<script> + +(function () { + + function swapOnMouseover(evt) { + var target = evt.target; + var imageSrc = $(target).attr("src"); + + // Assumes that images are named *-static and *-animated. + if (imageSrc.indexOf("static") > -1) { + var newImageSrc = imageSrc.replace("static.png", "animated.gif"); + $(target).attr("src", newImageSrc).removeAttr("onmouseenter"); + } + } + + $(".partner-gifs").mouseenter(swapOnMouseover); + +})(); + +</script>
\ No newline at end of file diff --git a/docs/image_sources/topic/instant-apps/Play-Services.png b/docs/image_sources/topic/instant-apps/Play-Services.png Binary files differnew file mode 100644 index 000000000000..4b65c9919fb6 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/Play-Services.png diff --git a/docs/image_sources/topic/instant-apps/image03.png b/docs/image_sources/topic/instant-apps/image03.png Binary files differnew file mode 100644 index 000000000000..becc7ff842ce --- /dev/null +++ b/docs/image_sources/topic/instant-apps/image03.png diff --git a/docs/image_sources/topic/instant-apps/instant-apps-section-2 b/docs/image_sources/topic/instant-apps/instant-apps-section-2 Binary files differnew file mode 100644 index 000000000000..6857e1fa3220 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/instant-apps-section-2 diff --git a/docs/image_sources/topic/instant-apps/instant-apps-section-4 b/docs/image_sources/topic/instant-apps/instant-apps-section-4 Binary files differnew file mode 100644 index 000000000000..c9436f184979 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/instant-apps-section-4 diff --git a/docs/image_sources/topic/instant-apps/instant-apps-section-5 b/docs/image_sources/topic/instant-apps/instant-apps-section-5 Binary files differnew file mode 100644 index 000000000000..b33544c8afbf --- /dev/null +++ b/docs/image_sources/topic/instant-apps/instant-apps-section-5 diff --git a/docs/image_sources/topic/instant-apps/play-services-features-2x.png b/docs/image_sources/topic/instant-apps/play-services-features-2x.png Binary files differnew file mode 100644 index 000000000000..098f91cd6722 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/play-services-features-2x.png diff --git a/docs/image_sources/topic/instant-apps/s3-BandH-animated.gif b/docs/image_sources/topic/instant-apps/s3-BandH-animated.gif Binary files differnew file mode 100644 index 000000000000..efa882740cb5 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-BandH-animated.gif diff --git a/docs/image_sources/topic/instant-apps/s3-BandH-static.png b/docs/image_sources/topic/instant-apps/s3-BandH-static.png Binary files differnew file mode 100644 index 000000000000..004afb7b4a93 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-BandH-static.png diff --git a/docs/image_sources/topic/instant-apps/s3-BuzzFeed-animated.gif b/docs/image_sources/topic/instant-apps/s3-BuzzFeed-animated.gif Binary files differnew file mode 100644 index 000000000000..16c461942671 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-BuzzFeed-animated.gif diff --git a/docs/image_sources/topic/instant-apps/s3-BuzzFeed-static.png b/docs/image_sources/topic/instant-apps/s3-BuzzFeed-static.png Binary files differnew file mode 100644 index 000000000000..cdd0dc8844fb --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-BuzzFeed-static.png diff --git a/docs/image_sources/topic/instant-apps/s3-ParkandPay-animated.gif b/docs/image_sources/topic/instant-apps/s3-ParkandPay-animated.gif Binary files differnew file mode 100644 index 000000000000..f5cbfb0d77ca --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-ParkandPay-animated.gif diff --git a/docs/image_sources/topic/instant-apps/s3-ParkandPay-static.png b/docs/image_sources/topic/instant-apps/s3-ParkandPay-static.png Binary files differnew file mode 100644 index 000000000000..1e07a74cc760 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/s3-ParkandPay-static.png diff --git a/docs/image_sources/topic/instant-apps/upgrade-your-app-2x.png b/docs/image_sources/topic/instant-apps/upgrade-your-app-2x.png Binary files differnew file mode 100644 index 000000000000..fbf6a013c4ca --- /dev/null +++ b/docs/image_sources/topic/instant-apps/upgrade-your-app-2x.png diff --git a/docs/image_sources/topic/instant-apps/works-on-all-2x (1).png b/docs/image_sources/topic/instant-apps/works-on-all-2x (1).png Binary files differnew file mode 100644 index 000000000000..5a440328c9c5 --- /dev/null +++ b/docs/image_sources/topic/instant-apps/works-on-all-2x (1).png |