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