Sunday, December 25, 2011

[android-developers] Forwarding a stream to be accessible from an URL. Idea needed.

Hello,
I'm going to implement media streaming in my app, but I'm not sure
what is the best approach for this.

First of all, I have access to InputStreams from several sources, like
SMB network or a ZIP file. Let's say, those streams refer to some
media, for example an mp3 file.
What I want to achieve, is to forward those streams to the localhost,
to be accessible from an URL to other apps. Something like "http://
localhost:4567/my_media.mp3".
After that, I want to list all activities, that can play my media
using that URL, i.e. some streaming apps installed in the system. I
just want them to still "think" that this url refers to some media in
the Internet.

I know how to do activity listing, but I am unable to find any good
idea for the first part. What is the best way to achieve that? Any
help will be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate