I dont use setTimeout(long) method in the package(http://
code.google.com/android/reference/org/apache/http/conn/params/
ConnManagerParamBean.html...?)
I'm using the HttpConnectionParams#setConnectionTimeout() in
org.apache.commons.httpclient.params package.
When setting time out, no error happens.
/** start */
private static HttpConnection connection;
.....
public void connect() throws IOException {
if (!connection.isOpen()) {
connection.open();
connection.setSocketTimeout(1000);
} else {
Log.v(TAG, "ServiceConnectoin : Already Connected");
}
}
/** end */
hope this might help
On 10月5日, 午後7:10, arnouf <[EMAIL PROTECTED]> wrote:
> Thanks dai.
> I'm using 0.9...could you give me a part of your code where you use
> the setTimeout?
>
> Regards
>
> On 5 oct, 11:58, dai <[EMAIL PROTECTED]> wrote:
>
> > I dont a bug about it, but how'bout using SDK1.0?
>
> > On 10月5日, 午後6:27, arnouf <[EMAIL PROTECTED]> wrote:
>
> > > Nobody have a solution? Or an idea?
>
> > > Regards
>
> > > On 4 oct, 20:43, arnouf <[EMAIL PROTECTED]> wrote:
>
> > > > Hello all,
>
> > > > in previous versions there was a bug on setTimeOut(long) checking a
> > > > lost web connection.
> > > > Is there a solution now? I'm using SDK 0.9 but I didn't find a
> > > > solution.
>
> > > > Thanks a lot by advance.
>
> > > > Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---