android: how to write the code to handle php respond
===

in my php i get different row echo's. 

    echo "true" . $row['fname'];

the true/false handled with following code. BUT how to write the code to handle the $row['fname'] since it give the logged user's name.

    List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(
    									2);
    							nameValuePairs.add(new BasicNameValuePair(
    									"email", email));
    							nameValuePairs.add(new BasicNameValuePair(
    									"password", password));
    							httppost.setEntity(new UrlEncodedFormEntity(
    									nameValuePairs));
    
    							// Execute HTTP Post Request
    							Log.w("SENCIDE", "Execute HTTP Post Request");
    							HttpResponse response = httpclient
    									.execute(httppost);
    
    							String str = inputStreamToString(
    									response.getEntity().getContent())
    									.toString();
    							Log.w("SENCIDE", str);
    
    							if (str.toString().equalsIgnoreCase("true")) {
    								Log.w("SENCIDE", "TRUE");
    								Intent in = new Intent();
    								in.setClass(login, Menu.class);
    						  								startActivity(in);
    
    								
    							} else {
    								Log.w("SENCIDE", "FALSE");
    								Context context = getApplicationContext();
    								CharSequence text = "Fill the form";
    								int duration = Toast.LENGTH_SHORT;
    
    								Toast toast = Toast.makeText(context, text,
    										duration);
    								toast.show();
    							}