ini file binary in Android - new entries not being saved

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    I made a small app in Android to fill out a form and save it in a ini file. The ini file is being integrated through a binary in the app. When the app is being closed, nothing is being saved in the ini file. Any ideas or suggestions what to do?

    I tried to work with the file manager component and also added the permissions, tried the Android-ini, nothing works unfortunately. In windows or over the emulator it works nicely.

    Thanks for you help in advance


    kind regards,

    Roger

    Edited once, last by ramar (December 16, 2023 at 12:39 PM).

  • I think you do not need to set specific permissions as the file will be saved to the app datastorage by default.

    Just use the Set Current File action of the INI object and pass the filename without pathname, e.g. "myINIFile.ini", that should work automatically (in the Windows runtime you have to add Apppath$, it's different).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!