Appnext

Jumat, 28 Juli 2017

Developers: A must-read to get your apps ready for Android O's new shortcuts and widgets

Tapping and swiping can do so much more in Android O.

Google has showcased the new app and widget shortcuts coming in Android O on its blog, and while it's a great explainer of how it all works it's especially important for developers.

With Android O, users (that's us!) will be able to long press an icon or portion of a widget and have access to specific shortcuts for an app. Examples are opening a blank or incognito page with Chrome, or composing an email with the Gmail app.

While these cool changes are part of Android O, they also require an app to support them. That means developers will have to update their apps, and that's never fun.

Fortunately, the required changes aren't a huge burden on developers, and Google makes things even easier with a full page in the documentation about pinning shortcuts and widgets — complete with code examples.

Android Developers: Pinning shortcuts and widgets

I love it when Google uses its developer blog this way. We get a small explainer and some insight on the new features while developers also get pointed to everything they need to implement them. It makes me look forward to Android O even more!

Tidak ada komentar:

Posting Komentar