Hello every body

I have this problem which can not resolve it. 

I'm calling the native code(*C code*) from the android application. But in 
the native code, they call function "*exit(0)*" so it makes the app on 
Android terminate. Could any one know how to stop this one, because after i 
called one method from native code , after it finished, it will terminate 
the Android application.

I found a way is disable the method "*exit(0)*", so it will not terminate 
the Android app, but it meet error when i called the native method second 
time, some error kind like this: "*Invalid heap address in internal_realloc*". 
I think that came from the re allocation the memory. So if any one know how 
to free all memory of native call, please let me know. Thanks for any 
comments

Thanks

Clark

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to