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  http://b.android.com  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)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/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
threads.

I was playing around Android's FingerPaint.java 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. About CTS Plans

Hi All~~~

    I am using CTS to test my device now.

    There are 8 plans in CTS.(ls --plan)

    cts_host > ls --plan
    List of plans (8 in total):
    Signature
    Java
    AppSecurity
    CTS
    Performance
    VM
    RefApp
    Android

    and in plan Java, there 20 packages.

    cts_host > ls --plan Java
    Packages of plan Java (20 in total):
    =================================
    android.core.tests.annotation
    android.core.tests.archive
    android.core.tests.concurrent
    android.core.tests.crypto
    android.core.tests.dom
    android.core.tests.logging
    android.core.tests.luni.io
    android.core.tests.luni.lang
    android.core.tests.luni.net
    android.core.tests.luni.util
    android.core.tests.math
    android.core.tests.nio
    android.core.tests.nio_char
    android.core.tests.prefs
    android.core.tests.regex
    android.core.tests.security
    android.core.tests.sql
    android.core.tests.text
    android.core.tests.xml
    android.core.tests.xnet

    I have 3 questions

    1.What does each plan means?
    2.What does each test suit in the package of the plan means?
    3.When I input the command
      start --plan Java -p android.core.tests.annotation
      cts_host > start --plan Java -p android.core.tests.annotation
      The specific test package does not exist:
android.core.tests.annotation
      why does this package not exist?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. change wallpaper

Hi everybody,
             I am developing one application in that I want to change
wallpaper. But I don't know how to do that. please help me

-- 

3. Mainan Android, ada yang udah nyetok ngga?

4. stock api

5. Phone gets reset automatically.

6. How to get TimedOutException in DatagramSocket receive method ?

7. How to get TimedOutException in DatagramSocket receive method ?