Comment ouvrir un dossier en particulier à partir de la galerie d'android?
Je suis uing le code ci-dessous pour ouvrir android par défaut de l'application galerie. Il ouvre tous les dossiers de l'image sous sdcard. Comment puis-je ouvrir un dossier?
Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType("image/*");
startActivityForResult(Intent.createChooser(intent, "Pick any photo"), SELECT_IMAGE_FROM_GALLERY_CONSTANT);
- Il y a d'autres réponses à cette question sur stackoverflow.com/questions/13418807/...
Vous devez vous connecter pour publier un commentaire.
Salut s'il vous Plaît utiliser le code suivant . vous obtiendrez dossier particulier de l'image .
code :
Espère que cela va vous aider .
Uncaught remote exception! (Exceptions are not yet supported across processes.) android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://media/external/images/media/2115 }