Hi everyone
Hi everyone,
My Android app uses a datasnap connection with a server and firedac components. I need to protect the application from FC when the network is unavailable.
What should be the best practice? Try.. Except on every database access? Is there more than can be done here?
My Android app uses a datasnap connection with a server and firedac components. I need to protect the application from FC when the network is unavailable.
What should be the best practice? Try.. Except on every database access? Is there more than can be done here?
Why would your app FC? Did you check for a connection?
ReplyDeleteActually I "try and except", not really a check for connection, how to do it for Android?
ReplyDeleteMagno, Brian Long help me to solve this problem.
ReplyDeleteSearch in my posts. There has the source code to check connectivity in mobile phone.
(Estou no celular agora. Por isso não passei o link direto, se quiser depois mando a unit para você) abs
I found the post and discover how send in mobile phone
ReplyDeleteHahahaha
https://plus.google.com/112153556617014489625/posts/cGzqqUJXbTD
Thank you man!!! That's what I needed.
ReplyDeleteHappy to be of assistance ;o)
ReplyDelete