google io 2015 - devbytes

11

Click here to load reader

Upload: vishal-nayak

Post on 21-Jan-2018

193 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Google IO 2015 - Devbytes

Google IO 2015

DevBytes

Page 2: Google IO 2015 - Devbytes

What’s new in Android

Page 3: Google IO 2015 - Devbytes

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

Page 4: Google IO 2015 - Devbytes

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

Page 5: Google IO 2015 - Devbytes

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.

Page 6: Google IO 2015 - Devbytes

Other behavioral changes

• Apache HTTP Client removal

• Stricter APK validation

Page 7: Google IO 2015 - Devbytes

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

Page 8: Google IO 2015 - Devbytes

Other random new stuff

Page 9: Google IO 2015 - Devbytes

App Invites API

• Introduced in Google Play Services 7.5

• Get recommendations for apps from

friends

Page 10: Google IO 2015 - Devbytes

Google Search Console

• understanding how users get to your app,

search queries etc.

• track your app's performance in search

Page 11: Google IO 2015 - Devbytes

Thanks