Here is my properties setup for Android
Please login to see this attachment.
I've made a Windows application which works excellent, It uses (INI object) together with (File Object).. The file object creates an empty file called File.ini, then the INI object saves data in the File.ini
...group item group item so on.. which works great FANTASTIC!
However. I want to create an Android app now of this same windows application I made, here is the problem...the INI all saved in the File.ini can't work anymore in the android app, because the way I coded it, save file here, load here from that same INI file.
I read so many samples on how to save load in Android by Inserting your INI into the binary data elements. Then using a command like.. DataStorageDirectory$( "Android object" ) + "/" + "File.ini"
However, How can I read a certain group, and, item in the INI from using DataStorageDirectory$( "Android object" ) + "/" + "File.ini" ?
Another thing, this Windows Application doesn't work at all in the Android. .It crashes. Could this be a Version problem? I think API 34 and Android 14 is ok! don't you think?
Another thing, How do you create, or delete or save ..that File.INI into Android? so it will work like Windows.
If I can think anything else I'll added here...
Another thing , that data elements in android feels so weird.. now because you have to remember the ini is inside the android?
what I'm saying is or what I would like is.. what's the best solution to make Android read write that INI I made for windows...how can I transfer my work without going through the code events..conditions.. to get Android to read that INI like it suppose to in windows.
Another thing, Is their special permissions? That has to be ticked.
Another thing , how can you Create a file in Android or a directory
Has Android prevented us all from creating files now?
so, I have to change the current windows INI file from CurrentDirectory$( "File Object" ) + "/" + "Folder1/Folder2/File.ini" to
DataStorageDirectory$( "Android object" ) + "/" + "Folder1/Folder2/File.ini"
but how do you create, delete file folders using the DataStorageDirectory$ ? from within that data elements.
just bear with me guys. I appreciate your help any help will do me now. My brain has to see it this way, sorry...
Btw, this android example I downloaded and tried it doesn't work at all in my version API? Is their something wrong with api's?
here is the code
Please login to see this attachment.
and files.. it doesnt work on my api
Please login to see this attachment. and Please login to see this attachment.
INI Object does not work under Android
The project is being compiled for Android without any error. The same project exported as exe file works fine.
See sample project file attached.
The ini file is attached as txt file and needs to be renamed to test.ini (due to the restriction of the…
Im not to keen in this data element idea, thankyou