Soft touch buttons (virtual buttons) usablilty

by Craig Mitchell » Tue, 07 Dec 2010 13:34:43 GMT

Sponsored Links
 Most phones now have soft touch buttons (including the new Nexus S).

I really struggle with soft touch buttons.  They are too close to the
screen for me.  And for some reason, on my N1, I have to press them
right at the top for them to register, so I'm often pressing controls
on the screen rather then the buttons.

I've noticed a few complaints about this.  However, I would be
interested to know if some phones work better then others with the
soft touch buttons.

Has anyone tried a few phones with soft touch buttons and noticed a


Other Threads

1. How to get widget object from appwidge

Hi all,
I met a problem when adding an onClickListener for a button which
include in appwidget.
I don't know how to get the button object from appwidget(get the ture
layout copy of home screen).
I have tried two method

1)use layoutinflate to create a view object
   but this wouldn't have an effect because my inflated layout is a
completely different copy from the one inflated by the home screen.
So, can anyone tell me how to get the ture layout copy of home screen.

                LayoutInflater inflater = (LayoutInflater) context
                View view = inflater.inflate(R.layout.main_frame,

                Button button = (Button) view.findViewById

2)Create a AppWidgetHostView object by myself,but I don't know how to
bind the AppWidgetHostView  object to current appwidget :(

It seems no changes when I use appWidgetHostView .updateAppWidget
(RemoteView) .
The widget update only after call appWidgetManager.updateAppWidget

                                AppWidgetHostView appWidgetHostView;
                AppWidgetProviderInfo appWidgetProviderInfo;

                RemoteViews views = new RemoteViews(context.getPackageName(),

                appWidgetProviderInfo = appWidgetManager.getAppWidgetInfo
                AppWidgetHost appWidgetHost = new AppWidgetHost(context, 10);
                appWidgetHostView = appWidgetHost.createView(context, 
                Button deleteButton = (Button) appWidgetHostView

                deleteButton.setOnClickListener(new OnClickListener()
                        public void onClick(View v)
                                Log.d("TAG", "deletButton onClickListener add 

I know the RemoteView offeres an interface
RemoteView.setOnClickPendingIntent,but what I need is


2. How to Drag-n-Drop an image from a source to target ImageButton object


Pardon for posting this message multiple times as I don't see my
message in the group.

I have a table layout with various ImageButton objects. I'm using XML
layout instead of custom view class. I'd like to move an image from
one ImageButton object to another like moving a chess piece by
capturing the target piece.

How can I obtain the target ImageButton object based on the current
coordinates in the MotionEvent object and copy the image source to
target button? I'm using a listener as in the following code snippet.

class BoardOnTouchListener implements OnTouchListener {
        public boolean onTouch(View v, MotionEvent event) {
                switch(v.getId()) {
                        case {
                                                   // drop image from
source to target view ???



3. Can my app prevent the phone from rebooting?

4. Hiding and showing titlebar at runtime?

5. BroadcastReceiver not able to receive events

6. Marquee ImageView??

7. BroadcastReceiver not able to receive events