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?

Comments

  1. Why would your app FC? Did you check for a connection?

    ReplyDelete
  2. Actually I "try and except", not really a check for connection, how to do it for Android?

    ReplyDelete
  3. Magno, Brian Long help me to solve this problem.
    Search 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

    ReplyDelete
  4. Thank you man!!! That's what I needed.

    ReplyDelete

Post a Comment