A boolean flag telling the native function to stop what it's doing would
work, but...

... besides setting it from the Java side, it would need to be checked on
the native side. Without this check, the flag would be useless.

-- K

2012/5/5 Giuseppe <[email protected]>

> 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

Reply via email to