Issue in passing a string from one activity to another

view full story

http://stackoverflow.com – Background : I am trying to develop my first android application which is a student discussion panel. I am good with php and mysql but don't have much experience in android java. Issue: In SelectedQuestionActivity class, if i simply give the URL as http://thewbs.getfreehosting.co.uk/talky/fetchans.php?qid=3, it works just fine and it fetches the corresponding answer to the question. But if i do it the way i have shown in the code below, the application crashes. I am not sure where i am wrong. CODE: AllQuestionActivity.java public void onItemClick(AdapterView<?> parent, Vi (HowTos)