Simple way is to make another activity and then put all the MediaPlayer code in that activity Call the above made activity through intent on onlistitemclick event.
On Tue, Dec 21, 2010 at 4:59 PM, Abhilash baddam < [email protected]> wrote: > Hi, > > I can be able to display all video files names which are in a sdcard > in a listview, now how > can i play a video whenever i clicked on a particular video which in > a list. > Any help please.. > > > > Regards, > Abhilash > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

