Can you please provide an example?

On Jul 19, 2:02 pm, Mark Murphy <[email protected]> wrote:
> Try using a real MIME type. Real MIME types do not have asterisks.
>
>
>
> On Mon, Jul 19, 2010 at 6:15 AM, zohar lerman <[email protected]> wrote:
> > Hi,
>
> > I recently upgraded My Nexus one 2.1 to Nexus one 2.2.
>
> > Since then i have problem to play mov files.
> > I get "Sorry, this video cannot be played" error message.
>
> > Intent myIntent = new Intent(Intent.ACTION_VIEW);
> > Uri u = Uri.parse(url);
> > myIntent.setDataAndType(u, "video/*");
>
> > try {
> >        context.startActivity(myIntent);
> > } catch (ActivityNotFoundException e) {
> >        Log.e("MyTag", "cannot initiate video", e);
> > }
>
> > any Idea?
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
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

Reply via email to