Get a reference to the activity and call Activity#startActionMode(ActionMode.Callback callback)
. As parameter you need to pass an implementation of the ActionMode.Callback
interface. Check out the ActionMode sample of ActionBarSherlock.
By the way, regarding the ListView
with checkboxes, I would take a look at android:choiceMode
and ListView#isItemChecked(int position)
.