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. How/where to find key used for signing the system.img applications.

The problem is i want to access email db from my application, but when
im accessing it im getting permission denial exception. Since email is
a system.img application and the permission set for it is
So i need to sign my application with the same key. So the question is
where could i find the key in the frameworkcode.

Thanks in advance.


2. Alternative keyboard


Mohon masukannya, alternative keyboard yg bagus atau recommended untuk Spica
selain default-nya ada atau nggak ya ?
Terima kasih.


"Indonesian Android Community [id-android]" 

3. Oot congrazt om hoesin

4. Developing HTC touchflo like inteface for android

5. ContactContracts

6. PictBridge support on Android

7. Dynamically obtaining several instance of a view item defined in layout/xml file