Message from discussion
application to call /system/bin/ts_calibrate
Received: by 10.224.199.6 with SMTP id eq6mr5956377qab.4.1317122433567;
Tue, 27 Sep 2011 04:20:33 -0700 (PDT)
X-BeenThere: android-platform@googlegroups.com
Received: by 10.224.175.67 with SMTP id w3ls2566850qaz.6.gmail; Tue, 27 Sep
2011 04:20:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.187.12 with SMTP id cu12mr1109009qab.4.1317122420269; Tue,
27 Sep 2011 04:20:20 -0700 (PDT)
Received: by m15g2000vbk.googlegroups.com with HTTP; Tue, 27 Sep 2011 04:20:20
-0700 (PDT)
Date: Tue, 27 Sep 2011 04:20:20 -0700 (PDT)
In-Reply-To: <CALQzojkkFqPPups3cj+eXBb8jzLPKQhNu_d7uQaxrn=mgszG0A@mail.gmail.com>
References: <b04275ae-31e3-4d55-b86d-b36a57d9f39d@g33g2000yqc.googlegroups.com>
<CALQzojkkFqPPups3cj+eXBb8jzLPKQhNu_d7uQaxrn=mgszG0A@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like
Gecko) Chrome/13.0.782.220 Safari/535.1,gzip(gfe)
Message-ID: <f89d5830-89f8-49fe-9a91-30ee7a648326@m15g2000vbk.googlegroups.com>
Subject: Re: application to call /system/bin/ts_calibrate
From: Peter <manoj...@gmail.com>
To: android-platform <android-platform@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi tommy,
is tslibandroid an application ??
i am using android-tslib, it creates a ts_calibrate file in /system/
bin/ so it is not an apk, although i can run it on console.
but that is not my requirement i need an application which can run /
system/bin/ts_calibrate
On Sep 27, 4:40=A0pm, "tommy.hong" <hongjiuj...@gmail.com> wrote:
> i use the same s3c6410 android2.1 to develop products,i think we can
> communicate.
>
> BTW,for your question,you can take tslibandroid to use.
>
> 2011/9/27 Peter <manoj...@gmail.com>
>
>
>
>
>
>
>
>
>
> > 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-and...
> > 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 Grou=
ps
> > "android-platform" group.
> > To post to this group, send email to android-platform@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platform+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/android-platform?hl=3Den.
>
> --
> Chinese Name:Hong jiu jin
> Android,Internet of Things,Embedded System Design and Develop
> English Name:Tommy
> Tel: +86 1367514 8249
> Skype ID:hongjiujing
> Gtalk ID:: hongjiuj...@gmail.com <talk%3Ahongjiuj...@gmail.com>
> Blog:http://internetofthings.blogbus.com/
> Country:China
> There are three types of people in this world: those who make things happ=
en,