Reading Embedded ini files for Android

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.
  • I need some help reading ini files using the Android exporter. I embedded the ini in binary tab of Data Elements and I am attempting to read them using the ini object. I've tried a bunch of pathnames but still it's not reading or finding the file. Any help would be greatly appreciated! I've also left the build of CF I'm using and the paths I've tried.

    Version being used: 295.10

    Pathnames I've tried:

    DataStorageDirectory$("Android object") + filename

    DataStorageDirectory$("Android object") + filename.ini

    TempPath$("Android object") + filename

    TempPath$("Android object") + filename.ini

    filename

    filename.ini

  • bonjour tu a oublie de mètre le "/" devant le nom de dont fichier.

    Hello, you forgot to put the "/" in front of the name of the file.


    exemple : DataStorageDirectory$("Android object") + "/filename.ini"

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Thanks for the advice! I just tried all the previous combinations and included the " /" and it still can't find the file. Is there a bug with loading binary into an ini with the android exporter? Or could it be some type of encoding issue? All my ini's are encoded with UTF-8 but the application is set to Ansi for input and unicode for output. I tried to experiment with the encoding options but there was still no success.

  • j ai lire tros vite j ai pas vus que du a fait mis les fichier ini dans l'onglet binaire des éléments de données.

    dont du a pas a utils l extention Android object

    du a j us appelle dont fichier ini avec l extention ini fusion vas le cherche automatiquement.

    I read too quickly I didn't see that you put the ini files in the binary tab of the data elements. so you don't use the Android object extension so I call the ini file with the ini fusion extension and it will look for it automatically.

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Full pathname. So if you embed D:\MyFile\Something.ini, you pass that path in INI.

    However, since it's an embedded path it may not be modifiable. So you'll want to copy it to a path that can be modified, like the folder expressions in Android Object. You may want to write any paths to a visible string you can read to check there are slashes where expected.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

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