Geeting the url


Last Updated:

  1. for1nall

    for1nall New Member This Topic's Starter

    Joined:
    May 13, 2009
    Messages:
    2
    Likes Received:
    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
     

    Advertisement

Share This Page

Loading...