I have a on strings.xml file. All the entries are showen a on ListView, and now i want to make a treatement on evey item touch/click. I have righted this code:
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
>
> setListAdapter(ArrayAdapter.createFromResource(getApplicationContext(),
> R.array.tut_titles, R.layout.offresaffichage));
>
> }
>
> public void onItemClick(AdapterView<?> parent, View view,
> int position, long id) {
> final String[] links = getResources().getStringArray(R.array.tut_titles);
// what to do here?
How to retrieve item position on the and start another activity from it? I thinked about switch, case but don't know how implement it. Thanks for answering.