Gyan
2009-10-23 07:08:39 UTC
Hey All,
I'm using the setType to return me images mentioned only of the specific
type.
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/gif");
photoPickerIntent.setType("image/jpeg");
photoPickerIntent.setType("image/tiff");
photoPickerIntent.setType("image/png");
photoPickerIntent.setType("image/bmp");
startActivityForResult(photoPickerIntent, RESULT_IMAGE_RETURNED);
But this piece of code returns me images of other types too... say ".wbmp"
Is there any other way to exclude the unwanted results from the Intent.
Thanks in advance !!!
Gyan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
I'm using the setType to return me images mentioned only of the specific
type.
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/gif");
photoPickerIntent.setType("image/jpeg");
photoPickerIntent.setType("image/tiff");
photoPickerIntent.setType("image/png");
photoPickerIntent.setType("image/bmp");
startActivityForResult(photoPickerIntent, RESULT_IMAGE_RETURNED);
But this piece of code returns me images of other types too... say ".wbmp"
Is there any other way to exclude the unwanted results from the Intent.
Thanks in advance !!!
Gyan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---