google io 2015 - devbytes
TRANSCRIPT
Google IO 2015
DevBytes
What’s new in Android
Android Design Support Library
• important material design components to
all developers and to all Android 2.1 or
higher devices.
http://android-
developers.blogspot.jp/2015/05/android-
design-support-library.html
Permissions in Android M
• New permission model – minimum permissions granted at install. User grants permission @ runtime
• Apps need to –– Check for permissions
– Request for permissions
– Handle lack of permissions gracefully
– Handle cases when permission revoked
• Best practices –– Ask only when required. Use intents if possible
– Don’t ask all permissions at once
– Explain the need for permission
Doze
If device is unplugged and kept stationary with screen
off, it goes to Doze mode
The following restrictions apply to your apps while in
Doze:
• Network access is disabled, unless your app receives
a high priority GCM tickle.
• Wake locks ignored.
• Alarms scheduled with the AlarmManager class are
disabled
• WiFi scans are not performed.
• Syncs and jobs for your sync adapters and
JobScheduler are not permitted to run.
Other behavioral changes
• Apache HTTP Client removal
• Stricter APK validation
Testing Guide for Android M
https://developer.android.com/preview/testin
g/guide.html
High potential impact on your app's
behavior:
- Permissions
- Doze and App Standby
- Auto Backup and Device Identifiers
Other random new stuff
App Invites API
• Introduced in Google Play Services 7.5
• Get recommendations for apps from
friends
Google Search Console
• understanding how users get to your app,
search queries etc.
• track your app's performance in search
Thanks