hi,here is my small query
I am executing a C native test application using android application
as root.Here i need to pass  few command line arguments to the test
app.
Currently i am giving static cmd parameters by declaring it as
string.it  is of the form below..

runCommand("/data/data/com.srtrl.testndk/files/snifferapp  2 1 6");

here  in  "/data/data/com.srtrl.testndk/files/snifferapp  2 1 6"
snifferapp is the executable and 2 1 6 are the command line
parameters.This works fine.But i need to update it dynamically ie the
user given parameters.My plan is to declare  /data/data/
com.srtrl.testndk/files/snifferapp as string and append the user given
parameters to the String.Will this work out??
if found any example code of passing dynamic cmd line arguments please
post it....

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to