Page 1 of 1

Connection lost on android

Posted: Tue 25 Jun 2019 04:22
by guidocavalera
Hi, i've an android application that must access to remote firebird and (to avoid wifi unstable) i set TIBCconnection with LocalFailover = true, disconnectedmode = true, defaulttransaction = <default>, dataset are in cached updates = true ...

when i disconnect wifi for test android application Freeze and i must wait many time (about 2/3 minutes) for OnConnectionLost fire. If i test it on windows OnConnectionLost fire immediately !!

How can i reduce timeout on android ?

Thx

Re: Connection lost on android

Posted: Wed 26 Jun 2019 07:12
by guidocavalera
hi, any news for me ?

Re: Connection lost on android

Posted: Wed 26 Jun 2019 09:02
by ViktorV
To give you a quick and exact answer, please compose and send us using contact form devart.com/company/contactform.html an exact sample with scripts that fill with data required for demonstrating the behavior you specified.

Re: Connection lost on android

Posted: Fri 28 Jun 2019 05:53
by guidocavalera
meanwhile i prepare sample can you indicate me how i can set a timeout connection in android application ? thx

Re: Connection lost on android

Posted: Mon 01 Jul 2019 12:57
by ViktorV
IBDAC has no capability to set timeout for connection establishing, since this term is defined by the client library - and we cannot affect this.