best touchscreen resolution (pixels/mm)

by Ken Schultz » Wed, 11 Feb 2009 20:34:31 GMT


Sponsored Links
 Does anyone know the best touchscreen resolution for Android?  Most
likely there would be a sweet spot for this.  The higher the
resolution the more data which could cause a bottleneck for data flow
and the low the resolution the worse the accuracy is.  I would imagine
this to be in the units pixels per millimeter.
--~--~---------~--~----~------------~-------~--~----~

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



best touchscreen resolution (pixels/mm)

by Dianne Hackborn » Wed, 11 Feb 2009 21:29:33 GMT


 Some that is at least the same resolution as the screen should be
sufficient.  Very few things -- certainly nothing that is part of the
standard platform -- is going to do much useful with sub-pixel touch data
(though we do report it in the APIs).






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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

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


Sponsored Links


Other Threads

1. ImageView in ListActivity won't scale...

I posted this same question on StackOverflow two days ago and haven't
received a response yet so I figured I would try my luck on here.  For
those interested here is the link to stackoverflow:
http://stackoverflow.com/questions/2661223/imageview-scale-type-not-working-in-list-activity

I have used ImageView's before and understand the different scale
types that can be set... However I am having an incredibly difficult
time trying to get an ImageView to scale properly in the row of a
ListActivity or an ExpandableListActivity.

I have tried setting the android:scaleType property to every single
value but the image never scales down. I have set the min and max
sizes as well and they don't seem to have any effect. I have done both
of these things in both the XMl and in code to no avail...

Does anyone have any ideas or perhaps a workaround?

Here is the XML for my group row for an ExpandableListView:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:padding="6dip"
        <ImageView
                android:id="@+id/item_selection_icon_id"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="5dp"
                android:layout_marginLeft="30dp"
                android:minWidth="10dp"
                android:minHeight="10dp"
                android:maxWidth="10dp"
                android:maxHeight="10dp"
                android:scaleType="centerInside"
        />

        <!--  App Name -->
        <TextView
                android:id="@+id/item_app_name_id"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/item_selection_icon_id"
                android:layout_alignBaseline="@id/item_selection_icon_id"
                android:textStyle="normal|bold"
                android:textSize="24sp"
        />

        <!-- Package Information -->
        <TextView
                android:id="@+id/item_app_pkg_name_id"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/item_app_name_id"
                android:layout_toRightOf="@id/item_selection_icon_id"
                android:layout_weight="2"
                android:textStyle="italic"
                android:textSize="12sp"
        />
</RelativeLayout>


Thanks in advance for any help!

-- 

2. NJ Court finds Owner-Operator to be Employee for Worker's Compensation Purposes

In case anyone was wondering, this is quite as irrelevant as it seems.
No need for others to click the link.



> 

3. Accessing MarketPlace Using Emulator

4. Any idea why the following code crashes the app? It happens in calculateGmt()

5. Is the WebView getContentHeight() broken in 1.5/1.6?

6. Barriers to entry for cross platform mobile development insight from a hobbyist

7. Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1