Loading string from file

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 am trying to find some way to load an external text file. Basically, due to the Get object not supporting https, I have instead used the Web View Object's Download URL to file feature to save a .txt file to ExternalStorageDirectory$. This works fine and I can see the created file in the root of my SD card. Now I need a way to load it back in to the app. I've tried loading it in String Parser 2 but it doesn't appear to work- is this function not supported on Android?
    Are there any other alternatives to load external files?

    Thanks,
    Will

  • Huh... I could have sworn the Edit Box didn't have that feature; that's why I've always used Rich Edits; but it does! My mistake!
    Got it to work with that function by loading ExternalStorageDirectory$( "Android object" )+"/webviewhtml.txt"
    Thanks! By the way, thanks so much for the Web View Object, it's incredibly useful.

    Now this might be a bit more ambitious, but can anyone think of a way to load a directory listing of the External Storage folder? To enable a sort of file browser?

Participate now!

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