Foreground Service.
Keeps playback active even when the app is running in the background.
Retrieves title, artist, and album from audio files
Extracts album art
Android 13+: You will need to request notification permission.
StartService
Start the player service.

It must be called before any operation.
StopService
Stop the player service.

Frees up resources and removes the notification
NotificationAlbumArt
Update the notification with the album cover of the current song.
The default images should be in the app's assets.
NotificationContent
Set notification title and content.
The default images should be in the app's assets.
Source
Set the media source and retrieve its metadata.
GetAlbumArt
Get the album art for a song from the path specified in the Source function. If it doesn't exist, use an image from the assets. Returns the file path.
SongTitle
Get song title.

ArtistName
Get artist name.

AlbumName
Get album name.

v1.0 Nov 30, 2025.
HeadphoneControls.aia (2.2 MB)
joejsanz.joedevmediaservice.aix (15.4 KB)
JDK: 11
Minimum API Level: 21
Updated On: 2025-11-30T08:00:00Z
Built using: FAST-CLI v5.3.2-premium
Thanks.





