OSDN Git Service

0a1f571d9030db36de3d2cee46f658797ba2e937
[android-x86/frameworks-base.git] / docs / html / topic / instant-apps / faqs.jd
1 page.title=Android Instant Apps: Frequently Asked Questions
2 page.tags=Material,design
3 footer.hide=true
4 forcelocalnav=true
5 @jd:body
6
7 <p>
8   <strong>What devices are compatible with Android Instant Apps?</strong>
9   <br/>
10   Android Instant Apps is compatible with devices that are running Android 4.1
11   (API level 16) or higher and have Google Play services installed.
12 </p>
13
14 <p>
15   <strong>Do developers need to build two different Android apps now?</strong>
16   <br/>
17   Developers only need to maintain one project with one source tree.
18   Developers simply configure the project to create two build artifacts: the
19   installable APK and the instant version.
20   Some developers can take less than a day to get up and running,
21   though the effort involved varies depending on how the
22   app is structured.
23 </p>
24
25 <p>
26   <strong>What Android APIs and functionality can Instant Apps use?</strong>
27   <br/>
28   Android Instant Apps functionality complements an existing Android app,
29   but does not replace it. Android Instant Apps uses the same Android APIs, the
30   same project, the same source code. Android Instant Apps restricts some
31   features that might not match users' expectations of an app
32   that is not installed.
33   For example, an Instant App can't use background services, do background
34   notifications, or access unique device identifiers.
35 </p>
36
37 <p>
38   <strong>Can users choose to install the app permanently?</strong>
39   <br/>
40   Developers can allow users to download the app from the Google Play
41   Store. After download, the app remains on the phone after the user has left
42   the experience.
43 </p>
44
45 <p>
46   <strong>How do permissions work in Android Instant Apps?</strong>
47   <br/>
48   Android Instant Apps uses the runtime permissions model introduced in
49   Android 6.0.
50   If an app supports the permission model introduced in Android 6.0
51   (API level 23), it does not require any additional work to become an Instant
52   App that runs on older devices.
53 </p>
54
55 <p>
56   <strong>How do developers publish these apps?</strong>
57   <br/>
58   Developers publish their Instant Apps through the Google Play Developer
59   Console, similar to their existing Android apps.
60 </p>
61
62 <p>
63   <strong>How can developers get involved?</strong>
64   <br/>
65   Developers interested in upgrading their Android apps can visit
66   <a class="external-link" href="g.co/InstantApps">g.co/InstantApps</a> to
67   sign up. We will be reaching out to interested
68   developers in the coming months.
69 </p>