Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Synchronization Timeout

2 posts in Ultralite Last posting was on 2011-12-19 18:35:26.0Z
Grigoris Tsolakidis Posted on 2011-12-19 13:21:57.0Z
From: "Grigoris Tsolakidis" <greg9898atotenetatgr>
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Synchronization Timeout
Lines: 5
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4eef3a75@forums-1-dub>
Date: 19 Dec 2011 05:21:57 -0800
X-Trace: forums-1-dub 1324300917 10.22.241.152 (19 Dec 2011 05:21:57 -0800)
X-Original-Trace: 19 Dec 2011 05:21:57 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12668
Article PK: 1048449

How can i set the connection timeout for syncronization.
When i try to sync with mobilink server that is not online my android
application freezes for 2 minutes


Tim McClements [Sybase] Posted on 2011-12-19 18:35:26.0Z
From: "Tim McClements [Sybase]" <mcclemenXnospam@sybase.com>
Newsgroups: sybase.public.sqlanywhere.ultralite
References: <4eef3a75@forums-1-dub>
Subject: Re: Synchronization Timeout
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4eef83ee$1@forums-1-dub>
Date: 19 Dec 2011 10:35:26 -0800
X-Trace: forums-1-dub 1324319726 10.22.241.152 (19 Dec 2011 10:35:26 -0800)
X-Original-Trace: 19 Dec 2011 10:35:26 -0800, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12671
Article PK: 1048446

Hi Grigoris,

There is a 'timeout' synchronization parameter, but that might not be the
right solution...

Please first ensure that you do not call the Synchronize method on the UI
thread. (That's normally the problem if the app is freezing...) Instead, use
a separate thread or, better, an AsyncTask object.

- Tim

"Grigoris Tsolakidis" <greg9898atotenetatgr> wrote in message
news:4eef3a75@forums-1-dub...
> How can i set the connection timeout for syncronization.
> When i try to sync with mobilink server that is not online my android
> application freezes for 2 minutes
>