How to run multiple videos with different video ads in one activity in Android 2.2?

I am using 3 video videos for 3 diff. video in one action. Now, if I run the program in the Android 2.3.3 emulator, then it works fine, but it can only run 1 video in the emulator or Android 2.2 device, so how can each video work in Android 2.2? I use the following code to run each video ....

VideoView vd = (VideoView)this.findViewById(R.id.VideoViewShow); String uri1 = "android.resource://" + getPackageName() + "/" + R.raw.door_175_210; vd.setVideoURI(Uri.parse(uri1)); vd.start(); 
+8
android videoview
source share
1 answer
+2
source share

All Articles