User Tag List

Results 1 to 10 of 10

Thread: INI IOS and Android help - enter own words to list and save?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb INI IOS and Android help - enter own words to list and save?

    The file example works perfectly on PC and behaves just how I would like it too, yet I want it to work on IOS and Android. Each time I try to save it for Android the error log says:

    Incompatibility report


    *** Error detected in frame events.
    Frame name : Frame 2
    Line #3, in action #1, expression : Appdrive$
    Line #3, in action #1, expression : Appdir$

    I have played around with using other peoples suggestions yet I can't figure it out. Any suggestions, please?
    I want to make a spelling game using hangman yet I need players to be able to enter their own words. Feel free to use the example file to fix, anyone up for the challenge?
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    These comment appears to alert you that these values are not present in android, INI in android is saved in application data folder so you only need the name.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply, I tried that already. Unfortunately it's not working with my attached example on Android or IOS. If anyone can get it working on Android or IOS I would be forever grateful.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    finally I worked it out, Android won't edit a list file inside an application. Android is happy to use a list file that was set on the PC yet it won't accept edits to it inside an app (in fact this causes a crash every time). My solution was to use the edit object to enter my text and save it to the INI along with a number so I could recall it using that number (counters can be used or just set the number). As soon as I got rid of the list object it worked perfectly. The edit object is a bit of a nuisance though because it sits in the foreground and won't have any objects sit over the top of it (hence you can't click it). I got around this by using a string object (these can be clicked) and alternated between the edit object and the string object. Another strange thing I discovered is that the hangman engine that I am using only works in Android if you use the jump to frame action rather than the restart frame. On the PC restart frame works fine? Go figure, just putting it out there because I examined the code for days trying to make it work only to find this simple solution.

  5. #5
    No Products Registered

    Join Date
    Jun 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got exactly the same INI problem myself. I'm using it with the high score table, so do you just cut out the appdir bits and just leave any word in there?

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    finally I worked it out, Android won't edit a list file inside an application. Android is happy to use a list file that was set on the PC yet it won't accept edits to it inside an app (in fact this causes a crash every time).
    i will check
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Hi Pixleldriver I've also had heaps of problems with the high score table, I'm willing to examine it again though. I must warn you that I'm very busy developing my current project. Now that I've got a better understanding of how an INI works, I've been considering making my own custom High Score Table. The main problem I encountered with the High Score Table is that I couldn't workout how to set up more than one High Score Table - for example a High Score Table for each level. If there's no solution for the High Score Table, I'll work on a custom one and will share my findings in a file for all to share.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    I tested here all the functionality and is working, save and load from edit and list object

    here is a link for you to test the functionality set the list content to edit modify a line, save the edit to file and read file to list.

    you have reset button for testing purpose, the list content start filled from internal values

    https://dl.dropboxusercontent.com/u/...it_Android.mfa

    let me know how it goes.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Wow oh wow, that is super generous. I will test it out. Many thanks.

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Nice Work around, excellent programing and problem solving Fernando. I would have never come up with a solution like that. It Works!

Similar Threads

  1. Save As: How to save a string or list and set its filename at runtime?
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th March 2013, 05:43 PM
  2. Save list in array
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 20th July 2012, 07:29 PM
  3. Get random words from my list...
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 30th August 2010, 12:55 AM
  4. Replies: 17
    Last Post: 8th January 2007, 11:59 PM
  5. Dictionary Extension - common English words list
    By Jeff in forum File Archive
    Replies: 0
    Last Post: 19th December 2006, 12:14 AM

Posting Permissions

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