• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic