I guess, 0xdroid has tslib in their distribution. Download and try it. It will create executable not apk.
On Mon, Jan 17, 2011 at 8:08 PM, Ashwin Bihari <[email protected]> wrote: > I don't have a prebuilt APK since the client opted to go the > calibration during manufacturing route as opposed to the application. > So I can only point you the application for you to build. The > application is set to load on system load, but the first thing it does > is check for the existence of /etc/pointercal and if the file exists > it just quits, if it doesn't exist it goes ahead with the calibration. > > You can definitely reference this from the Settings application if you wish.. > > Regards > -- Ashwin > > > > On Mon, Jan 17, 2011 at 2:34 PM, Zdravko Stoychev > <[email protected]> wrote: >> Thanks, could you share a compiled .apk please? >> >> Question: If calibration data is built-in on compile-time, what's the >> point of having calibrate application anyway? >> And if you have it be generate the first time you boot up the device, >> you should have it as an option under settings, because of human error >> on first run, etc. >> >> Regards, >> Dako >> >> On Jan 12, 6:28 pm, Ashwin Bihari <[email protected]> wrote: >>> While it's true that the touchscreen calibration should only be done >>> once during the initial development, it might be nice to have it be >>> generate the first time you boot up the device. To that end, check out >>> [1] which is a calibration application by 0xdroid that does just >>> that.. >>> >>> [1] -http://gitorious.org/0xdroid/packages_apps_tscalibration >>> >>> -- Ashwin >>> >>> >>> >>> >>> >>> >>> >>> On Wed, Jan 12, 2011 at 9:49 AM, Chinmay S <[email protected]> wrote: >>> > Hi, >>> >>> > AFAIK, calibration using TSLIB is done before compilation in code >>> > (i.e. during building/testing support for the device's touchscreen). >>> >>> > The values generated in the file pointercal by TSLIB are used to code the >>> > static-constants in the file: >>> > frameworks/services/java/com/android/server/InputDevice.java >>> >>> > As such this cannot be used during run-time (i.e by the end user) >>> >>> > Absense of runtime calibration of the touchscreen on android should not be >>> > an issue as the touchscreen doesn't get altered during the lifetime of the >>> > device and the values it returns are always the same and do not change >>> > with >>> > time/usage. >>> >>> > Also, change of co-ordinate axes due to change in orientation is >>> > automatically handled by the android framework and no callibration is reqd >>> > in that case too. >>> >>> > Regards >>> > CVS >>> >>> > -- >>> > unsubscribe: [email protected] >>> > website:http://groups.google.com/group/android-porting >> >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-porting >> > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- Manish Shakya http://www.manishshakya.com.np http://secs.oakland.edu/~ganesan/iMX/ -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
