1. Download our Official Android App: Forums for Android!

Apps Geeting the url

Discussion in 'Android Development' started by for1nall, Jun 10, 2009.

  1. for1nall

    for1nall Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    May 13, 2009

    May 13, 2009
    2
    0
    5
    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...