Audio player - Android Software Development

I am looking for any tutorials on creating a audio player app.
Basicaly i want to create an app that lists a selection of song to play with controls to play stop etc.
I would guess what most do is play these from a server to save on app size? or do they put the audio in with the app?
Anyway i have been hunting but not finding quite what i need.
I found one that plays from sd card but i want it to play only files i say.
Thinking about if it was streamed then that would use there data and if not connection they could not use so maybe streaming is not the way to go.
Anyway anyone any suggestions?

Related

Coding to Play streaming PLS (ShoutCast)

Hey folks, I'm trying to write an app to play a PLS stream from a ShoutCast server, any advice? I'm able to stream standard MP3s using the MediaPlayer class, but it doesn't seem to work with PLS files.
Hi,
a PLS file is a playlist file not an actual media(sound/video) file, you can open it with your favorite text editor. To be able to listen to a stream you need to be able to decode the media type(AAC,MP3,WMA,...) thats what codecs are for
Yeah, I know, I tried using the adress in the .pls but it wasn't playing/nor throwing an error. I was pretty sure it was a valid codec being used (it works fine with a static mp3 path), so I guess I'll have to check with the settings on the ShoutCast server.
Thanks for the reply.
I'm interested in that idea of being able to listen to streams on the go. I did a quick google search and found out that there already is a stream player for android out there, called AntPlayer.
I think it's available on the market, and if the source is open maybe you can take a look.
I'm going to look it up on the market and see if it plays di.fm streams
Droidlive?
Yeah, I found a few that can do it, but haven't found any open source options yet. I'll look into AntPlayer. I'm trying to create an app for our university's radio station.
Any updates? I'm looking to do the same.
Same problem here!

streaming MP3's

I've used a few solutions that stream your MP3's to your phone. but none of them seem to have a feature im looking for. All i want to do is be able to randomly play the entire collection. I've tried subsonic, but it downloads everything to the actual phone which is annoying. mecanto can't play everything at once, even with a playlist and its missing a search function if i wanna play something specific. I used to use Orb with some play on my touch pro i forgot, that worked kinda well except it buffered like a mofo. Any other suggestions out there? I was thinking of setting up an ampache server but i'd need to learn how to setup a server first >.>
Try using Homepipe, download the app free from market then go to the website on your computer and you just add what folders you want to share. After doing that you can stream mp3s, and download videos or other files to your phone and vice versa. It takes like 5 minutes to setup

Play Music issues

Hi all,
After copying my music files (mp3) to my OP8Pro I can't seem to get them showing in the YT Music or Google Play Music app. Once I opened them from file manager they will show....
With over 1000 songs it's no use opening them one by one to get them showing within the music app. Does anyone have a clue how to get them showing all at once?
I did the same and on Google music they show up automatically and YouTube music it's under local files I think
patensas said:
Hi all,
After copying my music files (mp3) to my OP8Pro I can't seem to get them showing in the YT Music or Google Play Music app. Once I opened them from file manager they will show....
With over 1000 songs it's no use opening them one by one to get them showing within the music app. Does anyone have a clue how to get them showing all at once?
Click to expand...
Click to collapse
Just get the best music player there has ever been on Android.
Poweramp, absolutely no equal. And of course it'll allow library editing amongst other features, definitely worth buying the pro version too, it's a great app..

Question: How do i manage music on my Pixel 4?

Good morning everyone.
Hope your all having a fantastic day.
This is more of a general android quesiton i suppose rather then a pixel 4. but being brand new to #teampixel thought i would ask.
while i have spotify and dont plan to use music on my phone to often, nice to have for them data black spots.
So i am gonna transfer over a few albums, just wondering what apps you are all using to manage albums and art work?
And then where are you putting your music on the device? surely i shouldn't just dump everything into the downloads folder.
Thank you for your time in reading this post, and hope your able to help.
Kind regards
Liam
You can use a simple Music Player Aimp / Poweramp ... Foobar
I copy the files to the Music folder from my PC.
Even though Google play music is being discontinued this year I'm still using it over YouTube music. I can access my music library on my computer and on my phone. Works great with Android auto too.
Hey there,
just use the preinstalled "YT Music" App. There you can manage your YouTube music and your local music, it also supports the "Motion Sense".
Regards,
Sebastian

Music or podcast app features

I'm thinking about buying a WearOS watch, but I want to know if it has an app to do what I'm looking for.
I'm looking for a music or podcast app that is simple, that can do 3 things (like a old-school mp3 player):
Can I manually upload audio files to the watch and play them with an existing app?
If so, could I upload an hours-long mp3 file, would I be able to listen to half on a jog, and then resume where I left off when I return to it the next time I jog?
Do the playback speed functions work for an uploaded audio file?
Thanks ahead of time!
To update, Wear Casts has all of the playback features I wanted, and I found Nav Explorer to quickly upload files from my pc via ftp over wifi. Very good setup!

Categories

Resources