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. How to integrate a library into the build?

I have to integrate a library into the Android build process and run
some tests to verify that it works properly. Looking at the stuff in the
"external/" directory I see that all libraries are compiled through
"Android.mk" files. I want to make the Android build system to call the
build system of the library I am building. 

Is there a way I can do that?

Best Regards.


2. Need help using hat to track down memory usage


While perusing the source code, came across a shell function that  
envsetup.sh defines called "runhat". Judging by the parameters, etc.,  
to this function, it allows one to get a heap-dump for a given  
application. This dump can then be analyzed by the tools "hat" and  

Has anyone had any luck running these tools? I tried earlier today and  
consistently get an error message

Started HTTP server on port 7000
Reading from /tmp/t.hat...
java.io.IOException: Version string not recognized at byte 17
        at hat.parser.HprofReader.readVersionHeader(HprofReader.java:325)
        at hat.parser.HprofReader.read(HprofReader.java:169)
        at hat.parser.Reader.readFile(Reader.java:90)
        at hat.Main.main(Main.java:149)

I have tried jhat (built into Java SE 6.0) as well as hat (downloaded  
from https://hat.dev.java.net/). Both versions get the same error.

Can anyone help?



3. Ultimate Android Calendar - AnCal available for download and testing !

4. Warning on Ignoring InnerClasses attribute with dex

5. Getting a G1...

6. apache httpclient usage in 1.0 r2 release

7. connection in sqlite