1. Check out our app, Forums for Android! Download and leave feedback here!

Geeting the url

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

  1. for1nall

    for1nall New Member
    Thread Starter
    5

    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...