In my app I need to play online mp3 which I am successfully playing using MediaPlayer in android using this link
I have many mp3's that that I need to upload on server which provide the services as the above link mentioned.
I have tried to upload them on Google Drive, Also tried soundcloud but their behaviour was different.
I need the same service like this link http://www.virginmegastore.me/Library/Music/CD_001214/Tracks/Track1.mp3 provides.
Anyone know any website having this behaviour ?
Thanks in advance
UPDATE after -ve downvotes(showing what I tried)
I used picosong.com which produces this link http://picosong.com/5Nt9 , The above link does not ends with ****.mp3 & to make this desired link I perhaps need a php server !
I searched on net & found these websites
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="30" height="30">
<PARAM NAME=movie VALUE="http://www.strangecube.com/audioplay/online/audioplay.swf?file=http://picosong.com/5Nt9&auto=yes&sendstop=no&repeat=1&buttondir=http://www.strangecube.com/audioplay/online/alpha_buttons/classic&bgcolor=0x000000&mode=playpause">
<PARAM NAME=quality VALUE=high><PARAM NAME=wmode VALUE=transparent>
<embed src="http://www.strangecube.com/audioplay/online/audioplay.swf?file=http://picosong.com/5Nt9&auto=yes&sendstop=no&repeat=1&buttondir=http://www.strangecube.com/audioplay/online/alpha_buttons/classic&bgcolor=0x000000&mode=playpause" quality=high wmode=transparent width="30" height="30" align="" TYPE="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</div><!-- End of generated code -->
The link you provided to the MP3 file was just... a link to an MP3 file. Every client will interpret it differently.
So you can:
Deliver using PHP
header('Content-type: audio/mpeg'); readfile($mp3_filepath);
You mentioned Google Drive. You can deliver the file directly by: