Android input devices

by » Wed, 01 Apr 2009 14:18:40 GMT

Sponsored Links
 Who knows how many kinds of input device android can support?
Touchscreen,keyboard are known,about else,e.g. mouse etc?

Other Threads

1. 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 ???



2. Can my app prevent the phone from rebooting?

I'm the developer of dxTop and I have gotten a handful of reports that
after installing it, the phone will no longer boot up.  It gets stuck
in on the Android screen.  Even booting using safe mode fails.

How can an app prevent the phone from at least booting.  Shouldn't the
phone boot and then start running apps?



3. Hiding and showing titlebar at runtime?

4. BroadcastReceiver not able to receive events

5. Marquee ImageView??

6. BroadcastReceiver not able to receive events

7. Blue Screen problem