попробуй вот так
@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
Intent i=new Intent(yourActivity.this,next.class);
String s = this.getListAdapter().getItem(position);
//query the database for the row with this string.. and get the necessary information
i.putExtra("name",s1);
i.putExtra("id",s2);
startActivity(i);
}