21.10.2016 Views

android-6-for-programmers-3rd

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.5 Downloading Apps from Google Play 13<br />

Feature<br />

App Standby<br />

Now on Tap<br />

New permissions<br />

model<br />

Fingerprint authentication<br />

App linking<br />

Automatic backup<br />

Direct Share<br />

Voice Interaction API<br />

Bluetooth stylus support<br />

Description<br />

For apps that a user has open but has not interacted with recently,<br />

Android defers background network activity.<br />

Tap and hold the home button while inside any app and Google Now<br />

inspects what’s on the screen and presents relevant in<strong>for</strong>mation in the<br />

<strong>for</strong>m of cards. For example, in a text message discussing a movie, a card<br />

containing in<strong>for</strong>mation about that movie is displayed. Similarly, in a text<br />

message mentioning a restaurant name, a card with the ratings, location<br />

and phone number appears.<br />

Be<strong>for</strong>e Android 6.0, a user was required at installation time to grant in<br />

advance all permissions that an app would ever need—this caused many<br />

people not to install certain apps. With the new model, the app is installed<br />

without asking <strong>for</strong> any permissions. Instead, the user is asked to grant a<br />

permission only the first time the corresponding feature is used.<br />

For devices with fingerprint readers, apps can now authenticate users via<br />

their fingerprints.<br />

Enables developers to associate apps with their own web domains and<br />

craft web links that launch specific apps from the same developer.<br />

Android can automatically backup and restore an app’s data.<br />

You can define direct share targets in your app that enable users to share<br />

data via other apps, directly from your app.<br />

Enables apps to respond to voice interactions.<br />

Apps can respond to pressure-sensitive interactions from a Bluetooth stylus—<strong>for</strong><br />

example, in a drawing app, pressing the stylus against the screen<br />

harder could result in a thicker line.<br />

Fig. 1.10 | Some Android Marshmallow features (http://developer.<strong>android</strong>.com/about/<br />

versions/marshmallow/<strong>android</strong>-6.0-changes.html). (Part 2 of 2.)<br />

1.5 Downloading Apps from Google Play<br />

At the time of this writing, there were over 1.6 million apps in Google Play, and the number<br />

is growing quickly. 8 Figure 1.11 lists some popular free and fee-based apps in various<br />

categories. You can download apps through the Play Store app installed on your Android<br />

device. You also can log into your Google Play account at<br />

http://play.google.com<br />

then specify the Android device on which to install the app. It will then download via the<br />

device’s Wi-Fi or 3G/4G connection. In Chapter 10, Google Play and App Business Issues,<br />

we discuss additional app stores, offering your apps <strong>for</strong> free or charging a fee, app<br />

pricing and more.<br />

8. http://www.statista.com/statistics/266210/number-of-available-applications-inthe-google-play-store/.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!