Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful
With ur url connection is successful all time except read happened every other time probably something do with ssl server On Fri, Feb 12, 2010 at 10:38 AM, Michael Rueger <[email protected]>wrote: > On 2/12/2010 5:27 PM, social hub wrote: > >> connection.connect(); >> OutputStream os = connection.getOutputStream(); >> os.write(requestData, 0, requestData.length); >> os.flush(); >> os.close(); >> InputStream is; >> connection.connect(); >> >> seems like u have two connection attempts why do u need two connects, >> and there is one disconnect at the end of test connection. I am not sure >> what happens with two connect requests. I am not so familiar with >> httpconnection yet but looking at code this is what I found. May be its >> not relevant. >> > > unfortunately that doesn't make a difference, although it could have well > been the stupid thing I was hoping for. > > Thanks! > > > Michael > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

