What’s new for shortcuts and widgets in Android O


Dynamic / static shortcuts

Pinned shortcuts








Adding shortcuts and widgets from inside your app



The API has a new glide for including shortcuts and widgets from inside your app.
The new way makes use of a modal conversation, deprecating the previous way of the usage of a
broadcast, which won’t paintings on O units.

That’s no longer all. We’ve made enhancements to the person interface and revel in. In
the previous revel in, there used to be no app icon at the shortcut, so customers had no thought
which app the shortcut used to be from. Marking shortcuts with the app icon supplies
higher branding whilst protective customers from doable malware.

Old shortcut

New shortcut

There may be a new choice so as to add a specialised task to lend a hand customers create
shortcuts. The task is whole with customized choices and affirmation.

With those new additions and enhancements, customers can be much more likely to make use of your
shortcuts and widgets, resulting in extra significant and impactful engagement with
your app and happier, extra productive customers.

To be informed extra, head over to the shortcuts and widgets web page at the Android Developers site.

Posted by way of
Gloria Liou, Associate Product Manager Intern


Why use shortcuts and widgets?



One of our favourite options in Android O is the facility
to pin shortcuts and widgets for your app onto the launcher thru deep
linking.

Shortcuts let customers briefly get started a particular job, whilst widgets give customers
speedy get admission to to express movements and data out of your app. Users wish to
get issues achieved, and get issues achieved speedy – shortcuts and widgets are a solution to
lend a hand them and to extend person engagement together with your content material.

To pin a shortcut or widget, customers lengthy press your app’s icon for choices and
drag and drop the chosen merchandise to a location in their selection.

Dynamic / static shortcuts

Pinned shortcuts








Adding shortcuts and widgets from inside your app



The API has a new glide for including shortcuts and widgets from inside your app.
The new way makes use of a modal conversation, deprecating the previous way of the usage of a
broadcast, which won’t paintings on O units.

That’s no longer all. We’ve made enhancements to the person interface and revel in. In
the previous revel in, there used to be no app icon at the shortcut, so customers had no thought
which app the shortcut used to be from. Marking shortcuts with the app icon supplies
higher branding whilst protective customers from doable malware.

Old shortcut

New shortcut

There may be a new choice so as to add a specialised task to lend a hand customers create
shortcuts. The task is whole with customized choices and affirmation.

With those new additions and enhancements, customers can be much more likely to make use of your
shortcuts and widgets, resulting in extra significant and impactful engagement with
your app and happier, extra productive customers.

To be informed extra, head over to the shortcuts and widgets web page at the Android Developers site.



Source link

Reply