User Tag List

Results 1 to 5 of 5

Thread: Problem ini read for Android!!!

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem ini read for Android!!!

    Hi

    It's an example that I find it on forum. conversation is play good on PC ( With add Apppath$ + " " ) . But on Android it doesn't show .
    Where is my wrong?
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I don't think you can use "apppath$" on Android, instead load your .ini to binary data and simply use "inifilename.ini" when refering.

    Also, on Android it doesn't work if your .ini is like this:
    [group]
    say1 = How are you doing

    It needs to be
    [group]
    say1=How are you doing

    So no space between!

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Jesse

    I used DataStorageDirectory$( "Android object" ) +"inifilename.ini" and even only "inifilename.ini" instead Apppath$ but it doesn't work for both. Would you mind please see my attached file for find my wrong .

  4. #4
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ah sorry, I might have given you wrong information.

    It's some months I last time played around with these, but if I recall you first need to load the .ini file from actual path using the basic INI object:
    For example: "E:\PROJECT_03\dialogue_english.ini" You can have this in "Start of frame" event, or however you wish to load it.

    For example:
    Start of frame
    + Set current file to "E:\PROJECT_03\dialogue_english.ini"

    Also, add your file to binary data:
    View -> Data Elements -> Binary Data -> Add the .ini file from there.
    It should be the same path, for example for me it would be: "E:\PROJECT_03\dialogue_english.ini"

    That's all, it should work when you build for Android or iOS. It looks for the .ini file inside the app - from the binary data.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great!!! . Thanks so much Jesse . It works perfect now

Similar Threads

  1. My android phone will not read my apk files
    By warlords in forum Android Export Module 2.5
    Replies: 2
    Last Post: 14th October 2016, 04:47 AM
  2. Android File Read to array problems
    By mnf_northern in forum Fusion 2.5
    Replies: 5
    Last Post: 18th July 2015, 08:06 AM
  3. How do you set up the android emulator to read your apk?
    By Jusfury in forum Android Export Module 2.5
    Replies: 0
    Last Post: 13th September 2014, 12:26 AM
  4. READ STATE KEY (Android Object)
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 12th September 2012, 10:38 PM
  5. Android Market vs iTunes, good read.
    By arsdigita in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 10th September 2011, 12:27 PM

Posting Permissions

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