Unable to display ContextMenu in a ListView with multiple components

by Gray-M » Mon, 16 Nov 2009 12:47:20 GMT

Sponsored Links
 I've had a similar problem. I believe that the issue is that the
ListView does not like to have 'focusable' items. I wanted a CheckBox
I could initialize but then I lost the context menu. I've reverted to
using CheckedTextView instead.
This has problems if you want to set the initial state of the check
boxes (say to reflect cached values from a dB) as it always appears to
set the items unchecked.


Other Threads

1. How to work with ContactsContract.Contacts.CONTENT_VCARD_URI

The openAssetFile() call should have thrown before that, since only
reading "r" is supported.

Also, keep in mind that the Uri structure that provides vCards in this
formant is not part of public API.  You should be treating the Uri
handed to you by ACTION_SEND as an opaque Uri, as its format may
change in the future.



2. help needed with project: preview image on a opengl texture

I'm trying to get the preview images of the android Camera onto a
opengl texture. I have been successful so far, it works most of the
times. Though sometimes I will just get a black screen when starting/
resuming the application. I have been debugging for days, not finding
any clue.
When debugging I noticed that both the camera callback and the
onDrawFrame are called in such situations. the bytearray of the camera
does contain data. though nothing is shown.
I would really appreciate if someone could help me with this, cause
problem has been driving me crazy for days.

the source can be browsed/checked out here:


3. How to you keep your program running as a process?

4. landScape mode problem

5. Adding ListView items dynamically - Force Close

6. Adding ListView items dynamically - Force Close

7. leaked window?