I want to start activity inside popup screen suggest any quick change ??
new AlertDialog.Builder(SearchResults.this)
.setTitle("Refine")
.setItems(/*catNames*/, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
/* User clicked so do some stuff */
String catName = catNames[which];
String categoryIds = subCats.get(catName);
}).setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
//do nothing just dispose
}
})
.create().show();