This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a binary file compiled for linux, ARM(version 5) machines. I do not have the source code to recompile it into a shared library(.so). My Android Java code depends on this binary to implement its business rules and I was thinking of how and if this executable can be packaged with the Android application.
Questions : Can the ELF be dumped into a folder, and then executed using Runtime.exec()?
How should it be packaged? Is there a definite package structure that need to be followed?
@Peter: The executable was compiled for Linux OS and ARM machine and I was able to push this executable onto the internal file system of a rooted Android phone and start it. So, executable compilation for the machine architecture is not a major concern, apparently. The problem is bundling the executable with our Android project and somehow running it when the application starts.