• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Geeting the url

for1nall

Lurker
May 13, 2009
2
0
Hi,
Iam a new to android and Iam developing an application where, when i submit my login information to the server, in the response i need to retrieve the url from the server.

HttpResponse response;
try
{

HttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new BasicHttpContext();
HttpGet httpGet = new HttpGet("http://192.88.113.01:8080/graple/user/Login.htm?username="+username+";"+"password="+password+";email="+emailid+";);

response = httpClient.execute(httpGet, localContext);
}

in here what should i add in order to get the url from the server. Iam all at sea in this regard. In that url my session id is embedded so i need to retrieve that session information for further operations/requests.

From,
Shashank
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones