Stream Player with jsp website

by Edwin » Fri, 13 Mar 2009 01:42:35 GMT


Sponsored Links
 I have written an Android Program that get the video from a jsp web.
Basically, the jsp will return a movie to the client, in this case,
the client is Android. I can get the movie in the browser. Then, I set
the this path to mediaplayer by  mp.setDataSource(path). Then prepare
it, exception is thrown about the player is invalid. I also try
prepareAsyn(), it still doesn't work. Can anyone know how to play a
movie from a jsp?

ps. if I set the path = " http://www.abc.com/123.mp4" ;, it works
perfectly. However, path = " http://www.abc.com/456.jsp" ;, the android
cannot work.

Thank

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. launch application through adb

hi,

is there any way to launch applcation from PC through adb by using
only package name?

in my case I don know the main activity name? because I don know the
main class name for all android standard applications.

any pointers or suggestions highly appriciated....

thx
rk
--~--~---------~--~----~------------~-------~--~----~

2. Integrating with Google Docs

I am attempting to integrate with Google Docs.  (At the moment just
trying to get a list of documents).   I have issued the ClientLogin
request and get an authorization token.   But when I then hit the
http://docs.google.com/feeds/documents/private/full with my
authorization key in the headers, I get a page not found.   I can tell
the authorization key is working because if I do not pass that header,
I get a 403 instead.

Any reason why I would be getting a page not found?  I am lost and not
sure what else to try.   I am not using the java client libraries
since I am running on Android and want to keep it lightweight.




--~--~---------~--~----~------------~-------~--~----~

3. Problem playing aac file using my own aac decoder

4. How to build a static executable using android tool chain?

5. One click Run App

6. skia canvas and MCRec

7. Recording amr Audio and streaming to http server in realtime