App closes automatically - Native code crash?

by Mark Murphy » Tue, 13 Jul 2010 06:42:02 GMT

Sponsored Links
 That's a low-level system crash. In theory, there's nothing you should
be able to do to cause one.

Please go to  and post this information there. It
would be hugely helpful if you can attach a project that demonstrates
the error.

Mark Murphy (a Commons Guy)  |  | 

Android App Developer Books: 


App closes automatically - Native code crash?

by Genc » Thu, 15 Jul 2010 05:05:22 GMT

 Hi Mark,

Thanks for interest. I've sorted it out:

The problem that I was drawing on canvas from within 2 different

I was playing around Android's SDK sample and it's
accessing canvas within onTouchEvent. However I was also using my
SurfaceView and drawing on Canvas within my animation thread.

Removing canvas access from within onTouchEvent(main app thread)
solved the problem.

Thanks again.

Kind regards.


Sponsored Links

Other Threads

1. User Space Hardware Abstraction Layer Development Guide

Hi All,

  I would like to know if there is any documents or related web links
for device driver development on "User Space Abstraction Layer ".
  I would appreciate if anyone can give me how this really works in
real world scenario.



2. broken touch screen

I am using the nexus one in India and unfortunately broke the LED.
tough, the phone was working with touch etc but i just had the top
glass breaking. Then I ordered a new nexus one digitizer from ebay and
took it to HTC service to get my phone repaired.

They fixed the new digitizer but now the touch screen is not working .
could it be a problem with the digitizer or my phone has got screwed?


3. creating when making a project using IntelliJ Idea

4. keytool error - unknown format

5. appSearchData usage

6. Shadow on top of a layout on ActivityGroup

7. Return custom objects tre