Connection lost on android

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
guidocavalera
Posts: 6
Joined: Tue 25 Jun 2019 04:08

Connection lost on android

Post by guidocavalera » Tue 25 Jun 2019 04:22

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

guidocavalera
Posts: 6
Joined: Tue 25 Jun 2019 04:08

Re: Connection lost on android

Post by guidocavalera » Wed 26 Jun 2019 07:12

hi, any news for me ?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection lost on android

Post by ViktorV » Wed 26 Jun 2019 09:02

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.

guidocavalera
Posts: 6
Joined: Tue 25 Jun 2019 04:08

Re: Connection lost on android

Post by guidocavalera » Fri 28 Jun 2019 05:53

meanwhile i prepare sample can you indicate me how i can set a timeout connection in android application ? thx

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection lost on android

Post by ViktorV » Mon 01 Jul 2019 12:57

IBDAC has no capability to set timeout for connection establishing, since this term is defined by the client library - and we cannot affect this.

Post Reply