Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-20 Thread Justin Anderson
> > I know, i can disable it, so it will work, but i'd like to let the app can > run many times again. So i disable the exit(), but when call the second > times, it generates errors. > > Could you help? > Debug your code, find the cause of the errors, and fix them... Thanks, Justin Anderson Magouy

Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-19 Thread Clark kent
I know, i can disable it, so it will work, but i'd like to let the app can run many times again. So i disable the exit(), but when call the second times, it generates errors. Could you help? Thanks Clark On Sunday, July 15, 2012 5:52:38 AM UTC+7, Dianne Hackborn wrote: > > You just need to fix

Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-14 Thread Dianne Hackborn
You just need to fix your native code so it doesn't do this. Anyone giving you a native library that is calling exit() in it is an evil sadist. :p On Fri, Jul 13, 2012 at 3:02 AM, Clark kent wrote: > Hello every body > > I have this problem which can not resolve it. > > I'm calling the native c