mergehez / argplayer Goto Github PK
View Code? Open in Web Editor NEWAn android music player library
License: Apache License 2.0
An android music player library
License: Apache License 2.0
this looks incredible, why isn't this popular? o.o
When the mobile screen is locked After the end of the music being played, the next music will not be played in the playlist until you unlock the screen
ArgPlayerLargeView mediaplayer = (ArgPlayerLargeView) findViewById(R.id.argmusicplayer);
ArgAudioList playlist = new ArgAudioList(true);
ArgAudio argAudio = ArgAudio.createFromURL("One Piece", "Binks Sake","http://www.noiseaddicts.com/samples_1w72b820/2563.mp3");
mediaplayer.play(argAudio);
Hello,. Thanks alot for this library it works well. The only problem is the enableNotification method. Its not working. The audio plays but the notification isnt showing. Kindly help, thank you
If I use .loadPlaylist() without calling .playLoadedPlaylist() right after, ArgPlayer throws an Exception upon (manually) pressing the Play-button and skipping to the next track:
You can check out the complete code in my most recent commit on Composition Compass:
SHA-1: 03f81fac44ca5cc52a1af263a9be257e958405c0
* Player WIP; still broken due to usage of loadPlaylist instead of playLoadedPlaylist
IMO .playLoadedPlaylist() should not be required, and only be used if you want to programmatically start a playback of the playlist. That's why I see this behavior as a bug.
int res1 = R.raw.nausicaa_requiem; and all related (raw button, add(rawAudio) and so on) should be removed, or R.raw.nausicaa_requiem.mp3 should be re-added to maintain buildability
It would be nice if you could add a song to a playlist already connected to the widget. I really need it.
When player a playlist next and previous buttons do nothing,
ArgAudio audio1 = new ArgAudio("Led Zepplin", "Immigrant Song", this.getString(R.string.song1), AudioType.URL); ArgAudio audio2 = new ArgAudio("Linkin Park", "In the End", this.getString(R.string.song2), AudioType.URL); ArgAudio audio3 = new ArgAudio("One Direction", "Best Song Ever", this.getString(R.string.song3), AudioType.URL); playlist = new ArgAudioList(true).add(audio1) .add(audio2) .add(audio3); argMusicPlayer = findViewById(R.id.musicplayer); argMusicPlayer.enableNotification(MainActivity.class); argMusicPlayer.playPlaylist(playlist);
Hello dear,
I am using this player in my project and I am facing weird problem, the problem is player is playing from file path first time and second time it is not play it is giving error.
Regards,
as per the documentation library successfully implemented.
After on build got
Android resource linking failed
AAPT: error: resource android:style/android:Widget.ImageButton not found.
error: failed linking references.
I am using material theme is there any issue with it
<style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
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.