About android touchscreen

by Anson » Mon, 10 Nov 2008 17:19:03 GMT


Sponsored Links
 Hi all:

We use a resistance touch screen .

the touch screen 's raw input driver will return some ABS_EVENT, and
BTN_TOUCH input events,
but the value of ABS always too big, and for some reason, the touch screen
must re-calibrate.

Our solution is like this:
we ues touchscreen library such as tslib, to convert this big ABS value to a
suitable value for the application use,
and some times , we need calibrate the touch screen, for this , we also can
use tslib's calibrate application.

You can run a daemon under your system, it read from raw input interface
provides by driver, and inject to android input interface , such as
/dev/input/event0.

ps: may be some modify of android code is needed, for prevent android
eventHub compete with you daemon.








--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 



About android touchscreen

by Sean McNeil » Mon, 10 Nov 2008 17:54:06 GMT


 I have submitted patches to Google which adds support of a 
/system/etc/pointercal (aka. tslib) file for translating coordinates. I 
didn't add ts_calibrate into the phone, however. That would be nice to 
have so you can calibrate the screen on 1st install.







--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 


Sponsored Links


About android touchscreen

by Anson » Tue, 11 Nov 2008 15:18:05 GMT


 pointercal only can create by ts_calibrate ?

If you wann't to calibrate the screen on 1st boot, you may should add
ts_calibrate program into your system,
and modify the init.rc to support 1st booting salibrate ?

ps: how can i patch my work to android code base(the git base)?









--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 



About android touchscreen

by girish » Tue, 11 Nov 2008 16:32:46 GMT


  have integrated tslib ts_calibrate and fbutils in android filesyste. After
android is up, i try to run tslib binary but it shows up fb for fraction of
sec and goes off. It exits with invalid memory access. fbuilt does a mmap
and i guess android is not allowing it to have it. looks like android has
plugged in mmap interface, need to check.

--Girish SG

On Tue, Nov 11, 2008 at 9:17 AM, Anson <[EMAIL PROTECTED]> wrote:


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---



About android touchscreen

by ajay » Thu, 11 Dec 2008 06:35:54 GMT


 Hi
    Where can I get your patches?
    I would like to use your patches to test the touch screen of my
Board ( Arm -11 , SMDK6400)

Thank you
Regards
Ajay







--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 



About android touchscreen

by Elvis Dowson » Tue, 28 Apr 2009 23:45:18 GMT


 Hi Sean,
           Can you provide me a link to these patches, please? I am
working on a port of android-2.6.29 to the Overo TI OMAP 3503 platform
and working on the touchscreen issue right now.

Best regards,

Elvis




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Displaying Image Gallery

Hi folks,

I'm still learning a lot from the tutorials and sample codes. But could
anyone give some example on how to display an Image with a given URL (for
example, link from a flickr). I'm actually planning to create a gallery
pulled from an RSS feed.

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~

2. UI XML Pitfalls - What's wrong with this layout?

I'd love someone to clue me in to some common pitfalls to designing
the UI through the XML because I'm clearly not understanding what's
going on with the code below.

Run this below as your UI XML and it runs fine. Take out the first
ListView/TextView group, run it and you get an Application stopped
unexpectedly error. There are no significant differences that I can
see between the two.

I'm new to both Java and Eclipse so maybe I'm missing something simple
here, I don't know. I'd appreciate any help.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
      android:orientation="vertical"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content">

    <ListView android:id="@+id/android:list"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"/>
        <TextView android:id="@+id/android:empty"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Group 1"/>
    <ListView android="@+id/android:list"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"/>
        <TextView android:id="@+id/android:empty"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Group 2"/>
</LinearLayout>

--~--~---------~--~----~------------~-------~--~----~

3. how can I get actual Date???

4. problem with a simple map app

5. Incomming Call

6. What Window System Services?

7. Issues with permissions when using delegation with Content Providers