• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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
 
I think she's lovely. It's this tiny ad that called her crazy:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic