• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how can i create onItemClickListener

public class VectorPlayList extends ListActivity {
private String[] mStrings = new String[UImediaPlayer.playListForUrl.size()];
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);


setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, mStrings));
getListView().setTextFilterEnabled(true);

for (int i = 0; i < UImediaPlayer.playListForUrl.size(); i++) {
mStrings = (String) UImediaPlayer.playListForUrl.elementAt(i);
// System.out.println(m);
}
}
}
here my code is
now i want to create OnItemClickListener
to my mStrings
how can i
please help me
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones