I am working on an Android application that depends on a binary
executable(ELF binary for ARM-linux architecture) for its business.
There are java classes that interact with this binary.

Since the application requires this binary to be running, I was
thinking of packaging the binary inside the application and using
Syste.loadLibrary to load it and Runtime.exec() API to execute it.
Will this work?

Also, I was thinking of wrapping the Runtime execution around a
service so that it can be started and stopped when required and in
case of errors, application be notified.

What are the recommended ways to handling such binaries and bundling
them in android app?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to