• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android capturing image crash when clicking capture button

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I'm facing a strange issue on capturing an image, the application suddenly crash (suddenly closed) as soon as i click the capture button in the camera application. I've been trying to find the solution for this error for 2 days, but no solution yet.
I use kbeanie image chooser library for capturing the image.
The capturing image is called in a Fragment, but the captured imaged will be shown in an Activity called ImagePickerActivity.

Here i attached the code :
Fragment


Activity (Destination of captured image to place to)


Please help me on this.
I would really appreciate it if you could help me to resolve this issue.

Thanks,
Warmest regards,

Leo
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I've got this issue resolved in just a few hours i posted the question. (finallly!!!)..
I've got the clue from this link : http://stackoverflow.com/questions/14243794/why-is-the-app-closing-suddenly-without-showing-any-error
I just removed android:noHistory="true" on the activity defined in the AndroidManifest.xml.

Thanks for your kind attention,
With warmest regards,

Leo
 
Hey! You're stepping on my hand! Help me tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic