I am developing an application that shows the user a listView of the applications founded in his device. Each row of the ListView contain a checkBox and the icon of the app. this listView appear in alert dialog .I want to save the checked item into the database when the user click the positive button in the alert dialog. Any help?
Asked
Active
Viewed 344 times
1 Answers
0
Make a Bean class for packages add it to an arrayList while clicked on checkBox and Insert it into DB while tapping on positive button of Alert Dialog.

Nilay Dani
- 896
- 6
- 24
-
what do you mean by Bean Class? – CCHAHI Jul 13 '15 at 06:54
-
The class which consists of all getter setter methods http://stackoverflow.com/questions/3295496/what-is-a-javabean-exactly – Nilay Dani Jul 13 '15 at 06:56
-
I added the Bean class but how to make the relation between them ? – CCHAHI Jul 13 '15 at 07:33
-
Refer this http://theopentutorials.com/tutorials/android/listview/android-custom-listview-with-image-and-text-using-baseadapter/ create an Object and set data to it ... – Nilay Dani Jul 13 '15 at 07:35