Hey,

I am working on android 2.1 version for my SMDK6410 board.

I wanted to do touch calibration on my device so i used "android-
tslib" code available online and made the necessary changes.
I am able to create the "ts_calibrate" file in /system/bin and it is
working fine.

Now my requirement is to give user a option to run that ts_calibrate
directly from device. In short i want to make an apk file which calls
the ts_calibrate directly. (currently i am running it from adb shell)
I am not that familiar with java coding so can anyone please share
some code snippet (to make an apk) which shows how to run /system/bin/
ts_calibrate.

I tried something like this
http://stackoverflow.com/questions/5484535/runtime-exec-reboot-in-android
but it is not working, (may be because i don't have "/system/bin/su"
in my system)


thanks a lot
Peter

-- 
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