summaryrefslogtreecommitdiff
path: root/android/src
AgeCommit message (Collapse)Author
2021-05-31Android: use startForegroundService() in Android 8+Max Kellermann
Fixes the error: IllegalStateException: Not allowed to start service Intent { cmp=org.musicpd/.Main (has extras) }: app is in background
2021-01-01copyright year 2021Max Kellermann
2020-04-02Merge tag 'v0.21.22'Max Kellermann
release v0.21.22
2020-03-26android/Settings: remove the EXPIRIMENTAL textThomas Guillem
Using MPD from Android since quite some times now. I consider it very stable now.
2020-03-26android/Main: handle API26 NotificationChannelThomas Guillem
This seems to be required on recent Android versions (tested with Android 10). This is also required for android TV services (cf. next commit). This is done using Java reflection so that the project doesn't depend on android compat libs.
2020-01-18copyright year 2020Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-05-04android/Settings: request READ_EXTERNAL_STORAGE permissionMax Kellermann
Using this API function requires SDK level 23.
2018-10-31*: copyright year 2018Max Kellermann
2018-08-20android/Main: remove SDK_INT diversionMax Kellermann
MPD has minSdkVersion=21 which is above all the checks here.
2018-08-20android: use a gray notification iconThomas Guillem
2018-08-20android: improve Settings UI and run mpd on bootThomas Guillem
add 2 preferences to: - enable Wakelock when MPD is running (prevent suspend) - run MPD on boot and display MPD logs
2018-08-19android: Main is now a serviceThomas Guillem
- add Settings: Activity to start / stop MPD Service (Main). - Main is a service that run in foreground with a notification. See Service.startForeground documentation for more details. - Main.Client is used to control the service: start or stop it and also receive callbacks when service encounters an error, is killed, is started or is stopped. - Main.start to start the service without any fallback.
2018-08-19android: add LogListenerThomas Guillem
A Java object to send logs on the android side.
2018-08-17android: raise minSdkVersion to 21Max Kellermann
The number of MPD installs on Android < 5.0 is negligible, and that API version introduces lots of useful features for MPD.
2017-01-03update copyright yearMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-09-16android/Bridge: add shutdown()Thomas Guillem
Break the mainloop and terminate run call.
2014-07-30android/Main: indicate when the native code has quitMax Kellermann
Let the user know that MPD has failed. Not the best thing to do, but better than pretending it still runs.
2014-07-30android/Loader: fix indentMax Kellermann
2014-03-01db/Configured: store database file in cache directoryMax Kellermann
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
2014-02-22first Android releaseMax Kellermann
Finally, MPD runs on Android. For some small value of "runs". Very much work left, too much to describe.