User Tag List

Results 1 to 6 of 6

Thread: Android File Read to array problems

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android File Read to array problems

    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 windows - 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

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PS - has anyone managed to register a Steam purchased product using the website?

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,325
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mnf_northern View Post
    PS - has anyone managed to register a Steam purchased product using the website?
    It's easy:

    1. Go to the Community Passport
    2. Enter your Steam ID in the right box.
    3. Click(/tap) Add/Update my Steam ID

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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..

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

Similar Threads

  1. array file saving on both android and ios
    By Chokito in forum Android Export Module 2.5
    Replies: 0
    Last Post: 27th December 2014, 01:38 AM
  2. String with accent not read from array
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 3rd May 2012, 11:50 AM
  3. My Problems in MMF 2.0 - read more...
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th August 2011, 06:23 PM
  4. Dynamic Array to Binary Array problems
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd March 2010, 10:48 PM
  5. Need help understanding how to read an array
    By TripletDad in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st April 2008, 06:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •