Merge "docs: Pages for Instant Apps" into mnc-io-docs
BIN
docs/html/images/topic/instant-apps/3D-Image-viewer.gif
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
docs/html/images/topic/instant-apps/BandH-Photo.gif
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
docs/html/images/topic/instant-apps/Buzzfeed.gif
Normal file
|
After Width: | Height: | Size: 1010 KiB |
BIN
docs/html/images/topic/instant-apps/Park-and-Pay.gif
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
docs/html/images/topic/instant-apps/instant-apps-section-2.png
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
docs/html/images/topic/instant-apps/instant-apps-section-4.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
docs/html/images/topic/instant-apps/instant-apps-section-5.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 50 KiB |
BIN
docs/html/images/topic/instant-apps/s3-BandH-animated.gif
Normal file
|
After Width: | Height: | Size: 3.3 MiB |
BIN
docs/html/images/topic/instant-apps/s3-BandH-static.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
docs/html/images/topic/instant-apps/s3-BuzzFeed-animated.gif
Normal file
|
After Width: | Height: | Size: 3.9 MiB |
BIN
docs/html/images/topic/instant-apps/s3-BuzzFeed-static.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
docs/html/images/topic/instant-apps/s3-ParkandPay-animated.gif
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
docs/html/images/topic/instant-apps/s3-ParkandPay-static.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
docs/html/images/topic/instant-apps/upgrade-your-app-2x.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
69
docs/html/topic/instant-apps/faqs.jd
Normal file
@@ -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>
|
||||
281
docs/html/topic/instant-apps/index.jd
Normal file
@@ -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>
|
||||
BIN
docs/image_sources/topic/instant-apps/Play-Services.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
docs/image_sources/topic/instant-apps/image03.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
docs/image_sources/topic/instant-apps/instant-apps-section-2
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
docs/image_sources/topic/instant-apps/instant-apps-section-4
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
docs/image_sources/topic/instant-apps/instant-apps-section-5
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 50 KiB |
BIN
docs/image_sources/topic/instant-apps/s3-BandH-animated.gif
Normal file
|
After Width: | Height: | Size: 3.3 MiB |
BIN
docs/image_sources/topic/instant-apps/s3-BandH-static.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
docs/image_sources/topic/instant-apps/s3-BuzzFeed-animated.gif
Normal file
|
After Width: | Height: | Size: 3.9 MiB |
BIN
docs/image_sources/topic/instant-apps/s3-BuzzFeed-static.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
docs/image_sources/topic/instant-apps/s3-ParkandPay-animated.gif
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
docs/image_sources/topic/instant-apps/s3-ParkandPay-static.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
docs/image_sources/topic/instant-apps/upgrade-your-app-2x.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
docs/image_sources/topic/instant-apps/works-on-all-2x (1).png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |