How to handle widget's "Long Click" event on home screen?

by Jimmy Huang » Mon, 10 Aug 2009 14:15:54 GMT

Sponsored Links
 Dear All,

Does anyone know how to handle widget's "Long Click" event on home
screen? I want to implement: long click one widget on home screen then
one menu will be popup.


How to handle widget's "Long Click" event on home screen?

by Jimmy Huang » Mon, 10 Aug 2009 15:20:59 GMT

 Thanks for your quick reply.
But if I develop one myself's Home, then I can define the Long press
event on myself widget on Home?



Sponsored Links

How to handle widget's "Long Click" event on home screen?

by Jimmy Huang » Wed, 19 Aug 2009 17:07:00 GMT

 Anyone know this ? Thanks


Other Threads

1. Porting to x86 platform

I've been trying to build android based on the instructions on

The tree downloaded by those instructions does not compile on x86 - it
bombs out.. starts with a 'line too long' error from bash then
complains about missing files half way though.  I'd be happy to get
anything working right now, even a simulation.  That's the first

I know someone has ported it to the eepc 701, but I tried to exract
the binaries from that one & adding my known working kernel and they
don't work at all - exception in init whilst booting - so there's some
kind of eeepc specific stuff it's expecting.   It also uses an initrd,
which I'd rather avoid.

I have a  2.6.30 kernel that I know works, with the android patches
in.  The device is EFI based and has no legacy support (so no real
mode booting, no vesa, no VGA, etc.).  Booting I've sorted out and
have managed to patch elilo to run on the platform.  Screen is 800x480
touch screen, and there's no keyboard although I can plug a USB one in
for testing.

What I'm looking for is a way to create a filesystem tree the I can
tar up and unpack onto a fresly prepared USB stick.   Surely there's a
prebuilt one?  Once it's booted it is just a standard x86 linux system
with a framebuffer.  There's no even any sound to worry about (not
supported by ALSA), and all it needs to do is display stuff and
respond to the touch screen...



2. Please Help! I Can't get the ADT Plugin to Install

We updated the page to
clearly state that Java or RCP are recommended. Classic is know to not



3. Getting Service interface across processes

4. return value after addJavascriptInterface(obj, "obj")

5. Title of dialog

6. jymsg implementation on android

7. AudioRecord , buffer overflow issue.