La intención de video de Android inicia Adobe Reader

When I try to start a video intent on my Nexus S for some reason Adobe Reader is always launched.

Here is how I launch my Intent:

Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("... .3gp));

But this results in the following log:

I/ActivityManager(  109): Starting: Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/.../.3gp cmp=com.adobe.reader/.AdobeReader } from pid 26934

preguntado el 09 de marzo de 12 a las 13:03

3 Respuestas

It should work when you try this instead:

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("movieurl"));

respondido 09 mar '12, 13:03

 Intent i = new Intent(Intent.ACTION_VIEW);

  i.parseUri(uri, flags);


respondido 09 mar '12, 14:03

After all the way the intent was created seemed to do the trick. The following code worked for me:

final Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(path), "video/*");

respondido 13 mar '12, 11:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.