Video From Youtube in Emulator Android 2.1 Eclipse Gallileo/ Unable to play video

by Valentino XM » Mon, 14 Dec 2009 06:08:32 GMT

Sponsored Links

having no luck with playback of video from source file, i thought id
try video from youtube... Emulator says it cannot play video.. So now
what?.. can anyone tell me aoubt this code below.




import android.os.Bundle;
import android.util.Log;
import android.widget.MediaController;
import android.widget.VideoView;

public class XSO5 extends Activity {
        private static final String RTSP = " 
        VideoView videoXSO5;

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {

      //***VideoView to video element inside Multimedia.xml file

       VideoView videoView  = (VideoView)findViewById(;
       Log.v("videoXSO5", "***Video to Play:: " + RTSP);
       MediaController mc = new MediaController(this);
       Uri video = Uri.parse(RTSP);


Other Threads

1. Storing app-specific synced data with a contact

I would like to store some app-specific data in the contacts db. Is it
safe to stuff random things into the Contacts.Settings table? Will it
affect the GUI? Does anybody have an example of doing that? It's not
really clear to me if there's a proper mechanism for this, or if the
settings table is reserved for the systems own use.

BTW my first attempt was to use an app specific database, but then
users would uninstall the app, reinstall it later and wonder why it
didn't work. My second attempt was to stuff the data into the JPEG
headers but the sync process deletes them, presumably for security
reasons. So if there's no way to store my things in the contacts db
directly, I think I'm out of luck - I'll have to look at
steganographically encoding the data into the raw pixels themselves!

2. How to test omx encoder in opencore 2.0?(on emulator)

Hi al,
    Is any simple way to test omx encoder(audio) component in opencore
    Is anybody has try to test new omx encoder component ?


3. AudioFlinger - many "write blocked for" log WARN messages

4. how many items on a map are "usable"?

5. How do I return a value from an Activity

6. How can I notify my application when Item is Selected in List Activity

7. Regarding APN settings for 3G network.