Does Android support videos played when downloading?

by quill » Thu, 13 May 2010 17:01:31 GMT


Sponsored Links
 Hi all,
When I am  downloading a video from internet,  I want to play the
video, does Android support this? How can I do it?

--



Does Android support videos played when downloading?

by quill » Fri, 14 May 2010 09:28:54 GMT


 Anybody help?



>


Sponsored Links


Does Android support videos played when downloading?

by Mark Murphy » Fri, 14 May 2010 09:35:22 GMT


 



Yes, Android supports streaming video. You "do it" by writing an Android
activity that uses either VideoView or a combination of MediaPlayer and
a SurfaceView. Your video has to be in one of the supported formats:

 http://developer.android.com/guide/appendix/media-formats.html 

and, at least for MP4 files, they have to be "safe for streaming":




Other Threads

1. magic 2nd dr singapur, aman kah?

permisi suhu2 sekalian..
mau minta pendapatnya nih..

klo mau beli htc magic 2nd trus barangnya dtg dr singapur. aman gak
ya? saya liat ada kode2an. takut kenapa2 nih..

trus apa bedanya sih unlock dari vendor luar kaya t-mobile, sama yang
ga di bundle sama vendor sama sekali?

baru mau punya andriod.
terima kasih atas bantuannya.

salam.

-- 
"Indonesian Android Community [id-android]" 

2. how to have my custom view class use a layout xml

This refers to R.layout.custom_display_view


Whereas your layout file declares the View as:


I presume that this is a typo from t{*filter*} down the problem?

Besides that, it should be R.id. not R.layout., so you could try:

setContentView(R.layout.main); // or whatever your layout xml file is
called
CustomDisplayView customView = (CustomDisplayView )
findViewById(R.id.custom_display_view1);







-- 

3. Just got my N1

4. Displaying Animated GIF using Movie

5. Switching views in ViewFlipper

6. ROM SenseHero Magic32a

7. Small screen devices cannot see my app even declared already in the manifest