Android Question Chrono not working

Discussion in 'Android Questions' started by Rogerardo, Jul 31, 2019.

  1. Rogerardo

    Rogerardo Member Licensed User

    I have a program which has been live on multiple Samsung Galaxy tablets for many years. The program relies on the "Chrono" function for part of it's functionality.
    Over the past weeks my customer had been updating tablets to Samsung Galaxy Tab A with Android version 9.
    The Chrono function does not appear to work on these tablets.
    Is there an alternative for the "Chrono" function or is there a workaround?
    The program FTP's a few files from a Windows server and the Chrono stops the program continuing until the last of these files has been received but as Chrono does not work the program just hangs.
     
  2. agraham

    agraham Expert Licensed User

    What is "the "Chrono" function"?

    In what way does it not work?
     
  3. Rogerardo

    Rogerardo Member Licensed User

    Chrono is a timing function which allows the program to "wait" until something external happens. I use it with FTP. I issue multiple FTP's then a Chrono function keeps checking to see if the FTP's have finished. If not they delay the program for a second or 2 to see if the FTP's have completed yet.
    I have an olded Galaxy tablet and a new one side by side, each doing the same task. The older one works fine. The newer one seems to just ignore the Chrono subroutine. I have around 200 older tablets which work. Around 30 newer ones (All Samsung Tab A) which fail. It is as if the Chrono subroutine is completely ignored.
     
  4. agraham

    agraham Expert Licensed User

    That doesn't tell me what the Chrono function is. It is not a B4A keyword so what is it? Is it a library object? If so what library is it in?

    Post some code showing how you use it.
     
  5. José J. Aguilar

    José J. Aguilar Well-Known Member Licensed User

  6. DonManfred

    DonManfred Expert Licensed User

    As this is a new device and i know you should use a recent B4A Version to get apps working on newer Devices

    What B4A Version are you using?
     
  7. Rogerardo

    Rogerardo Member Licensed User

    I am using version 7.01
     
  8. DonManfred

    DonManfred Expert Licensed User

  9. Rogerardo

    Rogerardo Member Licensed User

    I have upgrdaded to the latest version. Chrono still does not work.
    Fine on emulator. Fine on older tablets. Fails on newer tablets.
    I am trying to program around it.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice