Look at your logcat output and figure out why your app is closing... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware
On Thu, Apr 26, 2012 at 1:08 AM, vani reddy <[email protected]>wrote: > > 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 -- 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

