// Divide each of the lines into its own string, separating by '\n'
Log.i("Login",resultString);
String[] nameValuePairs = StringUtils.tokenize(resultString, '\n', false);

// The request token is the first line that is returned. At this point,
// quickly remove the first 13 characters: the "RequestToken=" portion of
// the string. We didn't use the StringUtils function because it is too slow
// on a mobile platform for such a large string.
int length=nameValuePairs.length;
for (int i=0;i<length;i++)
{
Log.i("Login",nameValuePairs);
}
String rt = nameValuePairs[0].substring(13, nameValuePairs[0].length());
setRequestToken(rt);
Log.i("Login",getRequestToken());