ListView not touchable in my Activity - A clue...not the solution though..

by monn3t » Sat, 11 Apr 2009 09:06:44 GMT

Sponsored Links
 Thanks for answering...

I ended descontructing the whole Activity until I came across what
seems to be the cause of the problem.

When creating the SimpleCursorAdapter I use: R.layout.row which is a
layout that I created.
When I use one of android's, for instance:
android.R.layout.simple_list_item_1, it works but it does not show
what I need on screen.

If anybody can help... I'd appreciate it.  Thanks!

You don't see any itemClickListener because I post part of the
code...this is what I missed.

    protected void onListItemClick(ListView l, View v, int position,
long id){
     super.onListItemClick(l, v, position, id);

     Cursor c = (Cursor) this.getListAdapter().getItem(position);


     Intent nextActivity = new Intent(Activity_CardList.this,
     nextActivity.putExtra("var1", var1);


ListView not touchable in my Activity - A clue...not the solution though..

by Chander Pechetty » Sat, 11 Apr 2009 16:10:50 GMT

 As you mentioned, you are not posting the details for anyone to answer
your question?
You have not pasted the layout; so again no one can answer, but have a
look at the API doc... #SimpleCursorAdapter(android.content.Context,%20int,%20android.database.Cursor,%20java.lang.String[],%20int[])

to see if you are passing the "to", "from" correctly...



Sponsored Links

Other Threads

1. Making a Skype Call

I have Skype Mobile installed on my phone, and would like an
application I am writing to dial a phone number through Skype.  How do
I do this? I have tried using a URI such as skype:8005551212?call with
ACTION_CALL and ACTION_VIEW, but I keep getting "No application to
handle intent" errors.  Any ideas? Mark Murphy suggested in a similar
post that Skype would know, but their documentation doesn't seem to
cover this.

This is what didn't work, but gives the gist of what I'm trying to

                        Intent call = new Intent(Intent.ACTION_CALL);


2. listen for changes made in ContactMethod table

Any suggestions please?

On Apr 13, 10:50am, ""


3. Android 2.1, HTC Legend, native Bluetooth client

4. DroidLiv

5. Android Tablet SDK or Emulator

6. apkatcher

7. tappatalk