event handling

by dmtrl...@gmail.com » Sat, 27 Feb 2010 05:29:17 GMT

Sponsored Links
 Hello all.

I have one question about event handling in View. If my onTouchEvent
method will return false when ACTION_DOWN appears - I can't get
ACTION_UP for my view ?


event handling

by dmtrl...@gmail.com » Sat, 27 Feb 2010 16:46:17 GMT

 In documentation I see -
        "So, if you return false when the down action event is
received, you indicate that you have not consumed the event and are
also not interested in subsequent actions from this event.Thus, you
will not be called for any other actions within the event, such as a
finger gesture, or the eventual up action event" .
  This means that I will not receive any motion events until the next


Sponsored Links

Other Threads

1. MapView vs Google Static API : Zoom Levels differ


I have two ways to get map pictures from my application : First way by
calling buildDrawingCache() from the MapView object managed in my
MapActivity the second way is by using the Google Static API .
WIth the same GeoPoint I get two different results because zoom level
scale of MapView differs from  zoom level scale of Google Static API.

So :
 + zoom 3 in Google Static API == zoom 4 in MapView
 + zoom 4 in Google Static API == zoom 5 in MapView
 + zoom 5 in Google Static API == zoom 6 in MapView
 + ...

Is there any exlpanations? Is it going to change?



2. Urgent!! Please help on how to configure preload appwidget need APPWIDGET_CONFIGURE??

My widget need
"android.appwidget.action.APPWIDGET_CONFIGURE" intent to start, and after user interaction, we return RESULT_OK to caller. But as a preloaded appwidget, it should be in homescreen at very first time with default data. We tried to set default data at first APPWIDGET_CONFIGURE, but we didn't see APPWIDGET_CONFIGURE happen after booting, currently the widget is displayed on homescreen, but without correctly configured, it is not responsive at all.

can anyone shed some light on what is the correct behavior to configure "preloaded widget" need APPWIDGET_CONFIGURE intent??



3. Positioning Elements with Various Resolutions

4. News and Weather Standings: 11/16/2009

5. Cannot start volume '/sdcard' (volume is not bound) error using vold

6. AppWidgetProvider SCREEN_ON/OFF Intent not received

7. Need help with XML parsing (SAX)