bad idea... that will kill the app. You're not looking to kill the *process*, it's running in the same process, just through the JNI.
kris On Sat, May 5, 2012 at 2:02 PM, F.Stein <[email protected]> wrote: > Maybe "exit(0)" from "stdlib.h" could help? > > воскресенье, 6 мая 2012 г., 0:42:26 UTC+7 пользователь Giuseppe написал: >> >> with the premise that I have NO EXPERIENCE of C language, I would like to >> solve a problem that does not allow me to proceed with the publication of my >> app. >> >> I have a native function that uses ffmeg for file conversion, which I call >> from Android by AsyncTask. >> >> I need to stop the native function, and tried in several ways: >> >> 1) I created a function "deleteRutine" in C which resets all the >> variables. (not working) >> >> 2) I added into function of converting a boolean variable, and I set it to >> false via a method from Android (not working) >> >> What else can I try? Any advice? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

