When your app is asleep (Droidcon UA & Droidcon UK 2017)

When your app is asleep (Droidcon UA & Droidcon UK 2017)

Features we can use to improve ux, when the users aren't engaging with the app.

Also here: https://goo.gl/qLyc8G

3142db3adb711e247e371153b5777e04?s=128

Britt Barak

October 27, 2017
Tweet

Transcript

  1. 2.
  2. 8.
  3. 16.

    Background Color (26+) "ongoing tasks which are critical for a

    user to see at a glance" builder.setColor()
  4. 18.
  5. 21.
  6. 34.

    The Power To The Users! • Sound • Lights •

    Vibration • Importance • Show on lockscreen • Override do not disturb
  7. 43.

    Foreground 108 dp = 72 + 18 + 18 dp

    Can have transparency
  8. 51.
  9. 57.

    shortcuts.xml <shortcut android:shortcutId="..." android:icon="..." android:shortcutShortLabel="..."> <intent ... /> <!-- more

    intents... --> <categories android:name="android.shortcut.conversation" /> </shortcut> Static Shortcuts
  10. 60.
  11. 65.

    Pinned Shortcuts if (shortcutManager.isRequestPinShortcutSupported()) { Intent pinIntent = shortcutManager.createShortcutResultIntent(shortcutInfo); PendingIntent

    onPinnedIntent = PendingIntent.getBroadcast(context, 0, pinIntent, 0); shortcutManager. requestPinShortcut(shortcutInfo, onPinnedIntent.getIntentSender()); }
  12. 74.

    @Override public void onStartListening() { Tile tile = getQsTile(); //...

    tile.setState(Tile.STATE_ACTIVE); tile.updateTile(); } MyTileService.java
  13. 78.
  14. 79.
  15. 81.

    Users must love u on the background... - Be relevant

    - Notifications styles - Be useful - Notification actions & reply - Be focused - Channels - Notif. badge - Be pretty - Adaptive icons - Be quick - Shortcuts - Quick settings tile