valdio / audioplayer Goto Github PK
View Code? Open in Web Editor NEWAndroid sample app for playing audio files in a service
Android sample app for playing audio files in a service
The service is running well, but as not expected, when I clear apps through overview button, the service wtops. Pls give a fix. Music apps keep running even when recent apps are cleared.
How can I add shuffle, repeat, random & a actual screen that shows the progress? Also the notification options keep showing back up after I swipe them away.
Compile SDK: 30
Build Tools: 30
Target: 29
Minimum: 21
NotificationCompat.MediaStyle() has bo build errors when using androidx.media.app but it does NOT notify
Hi @valdio , I am a graphic designer, I want to help others in graphic design.
After I review your project, your logo is just a crop photo on this project. Therefore I would like to contribute to this project by creating a more interesting new logo / icon.
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: android.media.session.MediaSessionManager
at com.valdioveliu.valdio.audioplayer.MediaPlayerService.initMediaSession(MediaPlayerService.java:447)
at com.valdioveliu.valdio.audioplayer.MediaPlayerService.onStartCommand(MediaPlayerService.java:127)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2846)
at android.app.ActivityThread.access$2000(ActivityThread.java:168)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1432)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5493)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041)
at dalvik.system.NativeStart.main(Native Method)
Notification is not showing on Android Version 8 or above.
Hi there
What we can do about the abandonfocusrequest() like you had in media player ?
and how I can fix the below error?
///////////////////////////////////
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.setDataSource(java.lang.String)' on a null object reference
///////////////////////////////////
I have migrated project to androidx after that notification is not showing and also when i close the app mediaplayer also gets stopped.
MediaSessionManager
was added in API 21, how can you support API < 21?
colud you please share how to can i show player in bottom of screen ??????
Hi, I followed your great tutorial. It help me a lot!
I have a fragment which display all song and a fragment which display songs of an album when I click on it.
When i click the on a song item (from songFragment or albumDetailFragment) it store the index of the list. But when I want to display a song from an another list it displays the song at the index of the first selected list...
My question is how to redefine list stored in StorageUtils ? thank you in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.