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 I get getResources() to work in another class?

I have a class called "public class Towers extends Activity {}" which is called 
in a main class called "public Step extends Activity {}".
In the "Towers" class I declare Drawables as follows:

public Resources myResources = getResources();
Drawable disc1 = myResources.getResources(R.drawable.disc1);

My code shows no errors but when I load it with Eclipse into an emulator  it 
indicates that there is an error "at Resources, package not specified, cannot 
find ....(oxf200001 not loaded)".

Any ideas?




NOTICE - This message and any attached files may contain information that is 
confidential, legally privileged or proprietary. It is intended only for use by 
the intended recipient. If you are not the intended recipient or the person 
responsible for delivering the message to the intended recipient, be advised 
that you have received this message in error. Any dissemination, copying, use 
or re-transmission of this message or attachment, or the disclosure of any 
information therein, is strictly forbidden. BlueScope Steel Limited does not 
represent or guarantee that this message or attachment is free of errors, virus 
or interference.

If you have received this message in error please notify the sender immediately 
and delete the message. Any views expressed in this email are not necessarily 
the views of BlueScope Steel Limited.


2. what android phone should i get?

im on sprint, im really considering getting the epic 4g, also im a power 
user and conseider myself to be very technically inclined


3. DevicePolicyMgr resetPassword requires android.permission.WRITE_SECURE_SETTINGS on 3.0?

4. Can WebView#onPageFinished be called after WebView#onPause has been called?

5. What is WebView.enablePlatformNotifications for?

6. refresh the gallery without restart the emulator

7. In-app billing refunds