Wednesday, 28 July 2021

How to package and execute a binary in background with cordova in android?

Trying to run an executable .so file with cordova in the background. I have a "lib" folder which contains the folders "arm64-v8a", "ameabi-v7a" and "x86_64" These three folders contain the executable .so file for the matching archetecture (arm etc.)

How would I package them into the cordova app? Can I simply put the "lib" directory into the "www" directory of the cordova app? Then build it and then copy it to a place from where I could execute it in android? What is such a place / folder and how would I do it? Then how would I run it in the background and stop it when the cordova app is full closed?



from How to package and execute a binary in background with cordova in android?

No comments:

Post a Comment