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
difference?

-- 
.



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
                                .getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
                View view = inflater.inflate(R.layout.main_frame,
null);


                Button button = (Button) view.findViewById
(R.id.ToggleButton);



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
(appWidgetId,views)

                                AppWidgetHostView appWidgetHostView;
                AppWidgetProviderInfo appWidgetProviderInfo;

                RemoteViews views = new RemoteViews(context.getPackageName(),
                        R.layout.main_frame);

                appWidgetProviderInfo = appWidgetManager.getAppWidgetInfo
(appWidgetId);
                AppWidgetHost appWidgetHost = new AppWidgetHost(context, 10);
                appWidgetHostView = appWidgetHost.createView(context, 
appWidgetId,
                        appWidgetProviderInfo);
                Button deleteButton = (Button) appWidgetHostView
                        .findViewById(R.id.delete);

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

I know the RemoteView offeres an interface
RemoteView.setOnClickPendingIntent,but what I need is
RemoteView.setOnClickListener(R.id.delete,OnClickListener)

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

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

Hi

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 {
        @Override
        public boolean onTouch(View v, MotionEvent event) {
                switch(v.getId()) {
                        case R.id.a8: {
                                                   // drop image from
source to target view ???
                }
                }
}

Thanks
Chandru

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

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