vendredi 8 mai 2015

ACTION_IMAGE_CAPTURE | Can't get past SAVE/DELETE menu

First of, this is not a duplicate, I've seen similar posts but with no good answers. Now, this is the menu I'm talking about: Tinypic.

This only happens in some devices, in my particular Samsung Galaxy S3 Neo, it does well, and everything that it's supposed to, but on a friend of mines Wiko (portuguese brand, but pretty good), aswell as on the emulator above, it just does nothing when I click on "save". Here is my code if you could take a look:

Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
                      imageFile = new File(
                              Environment
                                      .getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), path
                      );


                      Uri tempuri = Uri.fromFile(imageFile);
                      intent.putExtra(MediaStore.EXTRA_OUTPUT, tempuri);
                      intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
                      startActivityForResult(intent, 0);

If you need any more details tell me :)

Aucun commentaire:

Enregistrer un commentaire