thanks On Oct 6, 11:55 am, Kumar Bibek <[email protected]> wrote: > No, you cannot do that unless you know if the target component supports > these callbacks (sets Result ) on finish. > > > > On Wed, Oct 6, 2010 at 3:21 PM, 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]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
-- 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

