Need some help with an app im creating - Android Software Development

So I have an application that uses the webkit and I want to make it so that when someone clicks a link that has the file extension mp31 it will play on the music player. How would I do this?

Related

Any way to stream .pls files?

I try it on the Streaming Video program that came with Black 3.01, and TCMP and couldn't get them to load. Anyone knows a way?
Thanks!
I have had success playing PLS files with mortplayer
I just finish trying with mortplayer and it wouldn't load the file.
If the PLS file is malformed, then no player will play it properly.
Open it in Notepad on your PC (open Notepad, and copy 'n paste the URL into the File box where you can type in a filename, and it'll download and open the file)... You might be able to tell just by looking at it if the .pls is malformed.
Try adding it as a response to this thread and I'll take a look at it, if you want (add it inside the [ code ] boxes in a similar way you'd do it for a quote) and it should keep the text as is without converting anything to hyperlinks.
Have you tried disassociating the .pls format with TCPMP and then re-associating it? That might work if it's a registry hitch.
Im able to stream shoutcast and .pls using conduit pocketplayer and pocketmusic
On my local network i use vm netbrowser and coreplayer 1.04 and play my music and videos off my server. I do the same at my office.
I use GSPlayer and select in the options to associate .pls files.
Ron
I have try MortPlayer, GSPlayer, TCMP, Core Codec Player and Conduit pocketplayer and non have worked.
zzfdkzz kindly sent me the contents of the .pls file in a private message, and I know why it's not streaming:
Code:
[playlist]
NumberOfEntries=1
File1=http://mastadog.kicks-ass.net:4000/;stream.nsv
Unfortunately, it's an NSV stream which uses VP6. Unfortunately, I don't think any pocket player will decode and stream these kinds of streams (not even TCPMP), though saying that I've not tried myself. The .pls file is correctly-formatted though, but no player can understand its contents so it won't play.
Sorry to be the bringer of bad news :/ maybe somebody else knows of an app which can play VP6 NSV streams.
Thanks christopherwoods for the help!

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!

How to change the default video player to another application?

Hello all,
Is there a way to change the default applications of my DHD phone?
I'm using ES File Explorer to view my shared movies on my network. but all of the movies are *.avi files, which the default HTC movie player doesn't support.
I have downloaded VPlayer Beta a nice free application that can play such files, but i can't make it default player for such files.
I hope i was clear, and I'm waiting for your help.
Thanks

[Q] How can I access playlist created by music app and call the music app to play it?

Hi, I don't know if it is the right place to ask this question but I need some help.
I am writing an android app, and I want to access the playlist created by android default music app.
In my app, the user should be able to browse the playlist and select any playlist to play.
So basically I want to know how to access it and when user selects any playlist, how to pass it to default music app to play it in background.
Is it something to do with ContentProvider or mediastore?? I really don't know how to access data on other apps.
Thank you so much!

[Q] torrent player problem

Hi
I have u torrent on my Nexus 7. I can download the torrents fine but I come to open the file I cannot play it.I have VLC player which starts up and then goes off straight away. I have also downloaded MX player which says it can't play the video when I try it this way. Can any body help me please, I have now tried 3 different videos and can't watch any?
just to double check...
i don't mean to sound crazy...
but, you're not trying to play the actual torrent file are you?
that file is used solely to direct the file to your device.
once you have the torrented media file downloaded...say, the actual movie or song...with a file ext that ends in .avi, .mpg or .mkv can you use those two applications to play them.
otherwise, you have an incomplete or corrupt media file.
those 2 mentioned players...vlc/mx open just about everything pretty well.
Thanks for the reply.
I'm not sure the downloaded files on utorrent are - DVD rip xvid-LTRG. I click on this in utorrent and then it asks me how I would like to open their file where I can then select one of the players. Is this wrong? I have also tried opening the player first to see if I can open the film that way but there is no file to open?
Thanks for the help.

Categories

Resources