ExpandableList With ContextMenu

by Jose Ayerdis » Mon, 17 Aug 2009 11:23:20 GMT


Sponsored Links
 How can i add a ContextMenu only to the child in the ExpandableList and not
to the parent in each....???

-- 
Atte

[[Jose Luis Ayerdis Espinoza]]
 http://blognecronet.blogspot.com 

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



ExpandableList With ContextMenu

by Steve » Mon, 17 Aug 2009 20:30:53 GMT


 Check for the item that is selected (in onCreateContextMenu).  If it's
a group item, then don't make a context menu for it.  If it's a child
item, then make the context menu.




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


Sponsored Links


Other Threads

1. starting apk from eclipse with "app data" erased

Hello there,

does someone know of a way to do a fresh start of an apk with the
eclipse run configuration, so that all app data (preferences,
databases etc. ) are erased? I don't mean the "wipe user data" option
of the emulator. A fresh start of just one apk on a real device. This
would be quite useful to test new-user-installations. Or does anybody
know of another way to achieve something similar?

     R.

-- 

2. How to detect if 1 App is using other App's data in ANdroid?

Hi All,

I'm trying to detect if one App is using some other App's data via
overt/covert channels?
Any help is highly appreciated!
Thanks.

-- 
.

3. java.lang.NullPointerException - shaha divan

4. getting device-id

5. Rarely getting ActivityNotFoundException?

6. restart device from code

7. change the google account associated to my developer account