ListView With Checkbox

by ragavendran s » Tue, 29 Sep 2009 16:56:47 GMT

Sponsored Links
 I m Having ListView With Checkboxes ...but if i Click the Checkbox ther is
no response....
can u tel me what to add to my code.....

Thanks in advance,


Her is My Code:

 final String[] options1 = new String[] {"My Wedding To Do
List","Categories","My Wedding Day"
                 ,"Organizer","My Wedding"};

  setListAdapter(new ArrayAdapter<String>(this,


ListView With Checkbox

by Saurav » Tue, 29 Sep 2009 17:24:36 GMT

 u need to set onItemClickListener for the listview or onClickListeners for
the checkboxes (individually).

Saurav Mukherjee.


Sponsored Links

Listview with checkbox

by Er. syed imran ali » Wed, 21 Apr 2010 16:11:49 GMT

 hi all,
i have problem to get event of list view field when i am adding
checkbox in listview.
my problem is to get the status of check box form every row of the
list view, either
it is check or not, according to that i have to do operation.
so, if any one know solution or good tutorial then please reply me,
Thanks and Regards
Imran ali


Listview with checkbox

by raqz » Thu, 22 Apr 2010 08:10:04 GMT

 Hi, have a look at the below threads as well.

Listview with checkbox

by faizan khan » Fri, 23 Apr 2010 02:44:16 GMT

 try setting checkbox.setFocussable(false);


Other Threads

1. Android book authoring opportunity

Addison-Wesley/Prentice Hall Publishers are looking for Android
developers interested in contributing to an Andriod book.  The book
would be targeted at new Android developers and would cover the
complete Android appication development lifecycle.   If you are
interested in contributing, please send an email to

2. Does (or will) Android lack support at the API level for Soft Keys?

> Thanks for the reply but I think you missed the mark on some things.

I find that difficult to believe given my first name. ;-)

That being said, I can definitely be wrong...

It's a label at the bottom of the screen, and a convention for what
buttons (if any) should be considered "soft keys" for different device

That's definitely useful for developers who choose to use it. Personally,
I'd drop "big" from "a big step forward", but I'm just a crusty old

You seem to be arguing that *every activity always* has soft keys, no
matter what the developer wants. Otherwise, there is no such thing as "the
programmer neglects to provide the soft key construction or hints", as
that could well be intentional.

I can see having soft keys in some settings but not others (e.g., video
playback, camera "viewfinder" mode). That's why I'm not a huge fan of
mandatory automagically-configured soft keys. That being said, if the
Android team chooses to go that route, that's their call.

I'd rather we as a community figure out how to offer some measure of soft
key capability without changes to the SDK; if the Android team wishes to
bake something into some future SDK release, so much the better.

Mark Murphy (a Commons Guy)
_The Busy Coder's Guide to Android Development_ -- Available Now!


3. Does (or will) Android lack support at the API level for Soft Keys?

4. Encrypting and decrippting

5. Problem stopping a thread at clicking the home or back button

6. JADE 3.6 and WADE 1.0 released

7. Problem opening SDK-Jarfile