added mini roadmap during implementation of background play
parent
257b4a27f2
commit
d5fe3abc5f
|
@ -0,0 +1,11 @@
|
||||||
|
1. Media playback on `IntentService`'s worker thread
|
||||||
|
- wifilock/wakelock
|
||||||
|
- requires `INTERNET` permission,
|
||||||
|
- wakelock permission too
|
||||||
|
2. Material Notification-based playback controls
|
||||||
|
- running in foreground - calls `startForeground()`
|
||||||
|
- uses category `CATEGORY_TRANSPORT` (I think?)
|
||||||
|
- classed as a `LOW` priority notification in material notification design
|
||||||
|
3. Listen for changes in audio focus
|
||||||
|
|
||||||
|
A lot of these suggestions are taken from <http://developer.android.com/design/patterns/notifications.html>
|
Loading…
Reference in New Issue