Question About Kony Foreign Function Interface (FFI)

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi, i wanna ask about Kony FFI. I have trying to import a simple .jar file into my Kony Project using integrate third party menu. I have done my setup and finnish it with no error. However, problem arise when i run the project on smartphone, as the smartphone return "Unhandled Exception (function name) not defined" error.

The activity above is based on this tutorial : http://docs.kony.com/video_tutorials/Default.htm#RootDetector.htm?TocPath=_____20

I guess it has been too outdated (The video posted about 5 years ago) and did has missing some important setup that lead to error. For detail, i use Kony Visualizer enterprise v8 sp 1 fp 12.

Can i have some explanation about this ?

any help will be appreciated 😀

HI,

RootDetector Application is missing in GitHub. (https://github.com/kony/RootDetector), did you imported rooted.jar Library ? can you please share your Sample APP.

Hi,

Yes, i import rooted.jar to my project. Somehow i get rooted.jar from my local senior. Here is my sampe apps. It was created under Kony 8.

https://drive.google.com/open?id=1cxX0BVGIycoWVGEvxiqqvHfciSD5K6vv

and here is my rooted.jar

https://drive.google.com/open?id=1wbnOrT6MMtvZptaKB6n7VuggjGsrX17X

HI,

am able to launch FFI App. with rooted.jar file you shared.

Please verify with my FFI App

Hi,

i have download your FFI App and try to launch on my kony, but it return me with this error. I guess this is about Kony version (I use Kony Enterprise v8 sp1 ). Could you tell me which Kony version did you use ? Many thanks :)

**Image removed for security reasons**