I believe the best way to do what you've described is create your own Video Player Activity, which can contain a VideoView, and you can add listeners for most events (like video stopped or ended).
On Oct 6, 5:51 am, zohar lerman <[email protected]> wrote: > Hi, > > I am using the following code to play video: > > Intent myIntent = new Intent(Intent.ACTION_VIEW); > Uri u = Uri.parse(path); > myIntent.setDataAndType(u, "video/*"); > try { > > context.startActivity(myIntent);} catch (ActivityNotFoundException e) { > > Log.e(TAG, "cannot initiate video", e); > > } > > Is it possible to extend the intent and add it some abilities such > as : notify when video complete to play? get user events (stop play > etc),add new button? > If yes how? > I failed to find any example for it > > Zohar -- 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

