i/o extended (gdg bogor) - andrew kurniadi

36
What’s new in Android Andrew Kurniadi, GDE Google I/O Extended (GDG Bogor)

Upload: dicoding

Post on 11-Jan-2017

181 views

Category:

Technology


0 download

TRANSCRIPT

What’s new in Android

Andrew Kurniadi, GDE

Google I/O Extended (GDG Bogor)

Android N

Performance, Productivity,Security

Performance

New JIT Compiler

New JIT Compiler

● Complements ART's current Ahead of Time (AOT) compiler● Improve runtime performance● Save storage space● Speed up app updates and system updates.

Vulkana low-overhead, cross-platform API for high-performance, 3D graphics.

Doze on the Go

Better Surface ViewNo more TextureView

Productivity

Multi-Window Support

Notifications

Direct Reply

Bundled Notification

Scoped Directory Access

Scoped Directory Access

StorageManager sm = (StorageManager)getSystemService(Context.STORAGE_SERVICE);

StorageVolume volume = sm.getPrimaryVolume();

Intent intent = volume.createAccessIntent(Environment.DIRECTORY_PICTURES);

startActivityForResult(intent, request_code);

Data Saver

Security

Direct BootLOCKED_BOOT_COMPLETED

Seamless Update

Java Lambda 8 Support

// your code

mButton.setOnClickListener(new View.

OnClickListener() {

@Override

public void onClick(View v) {

// do something here

}

});

// In Lambda

mButton.setOnClickListener((View v) -> {

// do something here

});

Instant AppInstantly run your app from:

● Google Search Result● Shared Link● NFC

Android Wear 2.0

Standalone Apps

● No need to rely on Data Layer API● Received push directly● Can use HTTP

Material Design for Wearables

Complication API

Input Method

Input Method

Better Google FitIntegration

g.co/wearpreview