Streaming in android

by padma prabhavathi » Tue, 24 Jun 2008 16:13:27 GMT

Sponsored Links
 Hi Friends,

        Can anyone please tell me whether streaming is possible in
Android.Till now i saw tutorials on playing audio and video files that are
downloaded and played is it possible to play an audio or video without

Thanks in advance


Streaming in android

by Fr盲ntz Miccoli » Tue, 24 Jun 2008 16:16:13 GMT

 Yes it is possible. One of my frind did it.

On Tue, Jun 24, 2008 at 2:13 PM, padma prabhavathi <[EMAIL PROTECTED]>

Frntz Miccoli


Sponsored Links

Streaming in android

by padma prabhavathi » Tue, 24 Jun 2008 20:18:41 GMT

 Hi Friends,

        Can anyone please tell me whether streaming is possible in
android.Till now i saw tutorials on playing video and audio files that
download into a folder and play.

Thanks in Advance.


Streaming in android

by David Given » Tue, 24 Jun 2008 21:14:46 GMT



No. It's not.

Trying to do streaming causes MediaPlayer to produce various bizarre and 
undocumented errors, which probably all boil down to 'not supported yet'.

David Given


Streaming in android

by padma prabhavathi » Tue, 24 Jun 2008 21:35:38 GMT


Thanks alot for the response.
But did u see the below url? 

Do u know anything about tunewiki?If u know anything about it then kindly
give me some information about it.


Streaming in android

by Hong » Tue, 24 Jun 2008 21:41:33 GMT

 not sure about video streaming, but mp3 audio streaming is somewhat


Streaming in android

by David Given » Tue, 24 Jun 2008 21:52:39 GMT



I don't know who u is, and I don't know how tunewiki works, but if it's 
anything like the streaming audio app that *I* wrote, it works by using 
one thread to download the MP3 into a file, and then telling MediaPlayer 
to play from the file in another thread.

This approach works, but isn't really adequate; you need to pad the file 
out with zeroes to make it the right length otherwise MediaPlayer gets 
very confused about how long the audio is, and it *still* gets very 
confused (and crashes) if you use oggs instead of MP3s.

But this is strictly a workaround, and a pretty clunky and unreliable 
one. MediaPlayer is *supposed* to be able to open remote URLs directly, 
but that doesn't work yet.

David Given


Streaming in android

by Megha Joshi » Tue, 24 Jun 2008 23:03:37 GMT

 It is possible to play streaming audio and progressive streaming video using
the media samples posted to the android-developers group files section.

For creating progressive streamable video >>>one of the group users got it
working through Quick Time Pro and sent it along:

Here are the steps :

1. Open the video file in Quick Time Pro.

2. Goto File > Export

3. Select type as 'Movie to 3G'

4. Click Options

5. Select file format as 3gpp

6. In the drop down menu below the file format, select 'Streaming' from the
list of available options (Audio, Video, Text, Streaming, Advanced)

7. Select the required maximum packet size and maximum packet duration

8. Click Save

On Tue, Jun 24, 2008 at 9:16 AM, Frntz Miccoli <[EMAIL PROTECTED]>


Streaming in android

by rajesh » Wed, 25 Jun 2008 00:03:38 GMT 

 From the above post I believe, streaming is possible but the support of 
playing still is not available on emulator. so keep your code ready and 
fingers crossed until you could test your code on emulator till next 

- Raj


Other Threads

1. How do live folders register for change in content?

If I create a content provider to service a live folder, and if this
content provider is just a wrapper aggregating other content
providers, how does the live folder know if the real content has
changed somewhere down the line.

For example, I have a live folder that has items pointing to video,
audio, and notes. Each item in the cursor (such as an aggregated
matrix cursor) may be pointing to a different underlying content
provider. But each item will have its own uri.

Does the live folder view register for content changes for each uri?
Or is it the responsibility of the wrapper content provider to
register for content changes and then notify its client the live

Appreciate your help


2. Java 1.6?

Simple question, I did a cursory search on the dev guide and didn't
get any obvious hits, although maybe I missed it (there's something
about JDK versions, but they don't correlate to 1.5 or 1.6, they are
more like 5 or 6 if you get my meaning).  I would like to use Java 1.6
for some things.  In particular, I provides much better Collection
interfaces.  Before I go to all the trouble is switching everything
over (which I'm kinda unclear about anyway (Mac version, Mac Java
version, Eclipse version, Android SDK/JDK/JRE/ AAH!), I just want to
know if it's a fruitless endeavor.  Can I use Java 1.6 on an Android

Thanks for any clarification.


3. BT service/event loop after suspend/resume

4. Open an Existing Eclipse Project

5. Will android provide GPS application in the following version?

6. Can we hide a UI window with some API

7. Can we hide Activity