Android File Read to array problems

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.
  • A frustrating afternoon.....

    What I want to do is read an array file (created in a windows Fusion app) in an Android app. I create an array using a listview under win:(dows - this will be loaded into the android app for display....
    So I add the file to my app using 'data elements' - binary file.

    Then it all goes a bit awry - I cannot read the file (using array-read from file) or file-is file readable. I've tried numerous combinations of file name including the path (or not) DataStorageDirectory("Android object") and various access permissions (read_external_storage etc) (though shouldn't be needed for application data)
    So I tried D:\File.name, D:/File.name, File.name, /File.name DataStorageDirectory("android object") + previous etc)

    I also try to read a simple data file ("test.txt") and no joy - in case an array can only be read by the application that created it (I read in one pdf)

    So please, somebody take pity and put me out of my misery. A simple example of how to read a binary file created on my main PC would be very welcome.

    Many thanks

    Martin

  • Bit more testing - the file is there. The array load from file isn't working. The array is created in a Windows app - and contains a table of data to be used in the android app (~71 x 3 x 1 grid). It is created using an ListView and then save as array object.
    Adding array to the windows app and attempting to load this file crashes (edrt.exe has stopped working) - though it reload perfectly into a ListView.

    Suggestions - I may (have to) just change and save as a text (csv) or ini file

  • PS - has anyone managed to register a Steam purchased product using the website?

    It's easy:

    1. Go to the Please login to see this link.
    2. Enter your Steam ID in the right box.
    3. Click(/tap) Add/Update my Steam ID

    Please login to see this link., Please login to see this link.
    Discord: Please login to see this link., Please login to see this link., Please login to see this link.

  • Yes - it should be easy - but when I try that I get 'Accessing Steam' then it fails with 'Profile Not Found'.

    I got an error when I tried emailing ClickTeam using the address on Steam (mailbox refusing messages) and the web contact form also failed. Will try ringing them when I get a day at home..

  • Solved.. I copied the ListView data to an array in the Windows app. Saved the array data to a file (rather than using the ListView save to array file). Works beautifully - may try again with the direct from ListView save - but as it's quick and easy to copy the data - it's a reasonable work around.

Participate now!

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