Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 7    Views: 565

satit
I hate code!
Profile
Posts: 89
Reg: Feb 16, 2012
bangkok
6,640
01/14/13 07:54 AM (13 years ago)

How to play mp3 with android?

Anyone know how to play mp3(URL or embedded) on anroid? Thank you in advance? Satit P
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/14/13 08:07 AM (13 years ago)
Hi @satit, Can you be more specific please. What type of url? You looking for streaming a lot or a few? You looking to embed the default media player for Android? LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/14/13 08:10 AM (13 years ago)
PSMDanny has a great plugin for iOS, but for Android? Not yet... If you're feeling adventurous you could try this: http://www.androidhive.info/2012/03/android-building-audio-player-tutorial/ Cheers! -- Smug
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
01/14/13 08:55 AM (13 years ago)
Hi satit! to play mp3 URL in V 2.0 you have to options use Launch Native App or AT53 Video Player Plugins. If you want to stream few mp3 from your online storage Drop Box works well. Get 2Gb of online storage space FREE from Drop Box : Drop Box.(my bones link) It's the perfect place to keep all your projects in sync! your photos docs, & videos anywhere & share them. never email yourself a file again! If you have lots mp3 I suggested to use storage on your website. If you use dropbox for lots of mp3s your free public links will suspended for generating excessive traffic. how to … I use the free open source FTP solution filezilla to upload my web content http://filezilla-project.org/download.php?type=client upload your mp3 folder to your website put it in your public folder make sure permissions are set to 755 for the mp3 folder ( by right click you can set the Numeric value permissions ) and open the mp3 folder you will see your mp3 lists make sure permissions are set to 644 for mp3 . Now right click the mp3 copy URL to clipboard. Paste to text editing like note pad her is the tricky part your links looks like smutting like this you need to modify the link little bit ftp://yourwebsit.com@ yourwebsit.com/public/mp3/your.mp3 This need to be change to this removes same and adds same make sure there is no gap between the edited links http://yourwebsit.com/mp3/your.mp3 now you are good to go I hope it helps.
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
01/14/13 08:57 AM (13 years ago)
Drop Box.(my bones link) http://db.tt/cIAQuQbu
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
01/14/13 11:29 AM (13 years ago)
Hi. You can also stream audio by using the html <audio> tag and inserting dropbox url for mp3 file. The only drawback is it only works on android 2.3 and above. I use it in this app https://play.google.com/store/apps/details?id=com.scottishbagpipesfreeversion
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/14/13 11:33 AM (13 years ago)
 
satit
I hate code!
Profile
Posts: 89
Reg: Feb 16, 2012
bangkok
6,640
like
01/14/13 10:45 PM (13 years ago)
Big Thank You to everybody!!! Very useful info particularly "buzzbt" who tried work on AT53 plugin. In my opinion AT53 it easy way to make it done. now It's work on me too. very success to play mp3 from my web server. Thank you again for everyone Satit P.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.