Hi friends,

I need to access gallery and select an image from gallery  and after
selecting image i need to come back to my fragment.
But after selecting image from gallery my application is closing.(But no
force close).

I used the following code to open gallery.
Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);
intent.setType("image/*");
intent.putExtra("return-data", true);
startActivityForResult(intent, 1);

how to resolve this??
-- 
Regards,
Vani Reddy

-- 
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

Reply via email to