What is the proper Intent to launch the gallery or gallery picker?
I'm using the following code, and a lot of users are complaining of a
force close error. It works just fine on my stock G1, but with the new
phones out it seems to be an issue.
Intent intent = new Intent();
intent.setClassName("com.android.camera",
"com.android.camera.GalleryPicker");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mContext.startActivity(intent);
What is the proper intent?
Further ...
My app stores photos on the sd card (photos taken from the camera and
stored using the Media Scanner) ... Is it possible to launch the
gallery into that specific gallery instead of the gallery picker? Or
is the gallery picker the only option?
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---