actually my ListView is here:
ListView lv = (ListView) findViewById(android.R.id.list);
ArrayAdapter<String> ad = new ArrayAdapter<String>(getApplicationContext(),android.R.layout.simple_list_item_1,ls);
lv.setAdapter(ad);
What I want is when I click on an item in my ListView it should open a new activity for that item where I can show some description of the item e.g. if the item would be a BMW M6 than in the new acticity should be things like hp, 0-100 etc.
How can I do that?
To start a new Activity you have to use intents :
You can add extras :
And to start the activity :
Now if you wan to do it when you click on an item of your list you'll have to use :