You can do that using undocumented class android.os.Exec. Here's my notes: http://gimite.net/en/index.php?Run%20native%20executable%20in%20Android%20App
Kartic <[email protected]> wrote: > Hi, > > I am working on creating an Android application in which part of the > code is in C and rest is in Java. > > i have been able to build executables of my c code and run them using > adb shell. Now i want to start these executables from my Java UI (say > on a button press -initialize). > > What is the best way to do this? > i have tried it using 1. exec and 2. processbuilder but both of them > do not work.. > > Thanks n regards, > Kartic Grover --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
