B4A Library db2000.B4A.INI

maXim

Active Member
Licensed User
db2000.B4A.INI is a small and simple library for creating and managing the INI files with the ability to handle the values type of the individual keys for each section.

A brief description of the individual methods is available at the following link:

http://www.db2000web.net/db2000%20eXperiences/documents/Java/db2000.J.INI/

+----------------------+
| ...::: UPDATE :::... |
+------------+---------+
|posting date| version |

+------------+---------+
|
2015-06-24 | 1.0.5.0 |

+------------+---------+
 

Attachments

Last edited:

SergeiUXPMC

New Member
Licensed User
Thanks for this library. But..
Seems like a library no longer works correctly in Android 5.0. In INI.rdString it always returns NULL value. But in INI.rdBoolean works fine.
I tested the same code on different devices - with Android 4.1 and 5.0. On 4.1 works fine.

Is there any problem?
 

maXim

Active Member
Licensed User
Hi SergeiUXPMC,

thanks for your report...

... after a lengthy absence, the next monday I'll be back in the office and in the following days I will try to solve the problem.

Best regards,

maXim
 

Cableguy

Expert
Licensed User
Hi @maXim, does this lib only manage .INI file extensions or can we give an extension of our own, keeping the INI file type structure?
 

maXim

Active Member
Licensed User
Hi Cableguy,

yes, you can change the file extension and the structure will not be affected (this applies to both versions, db2000.B4A.INI & db2000.B4J.INI)...

P.S. nice to find yourself again! :)
 

Cableguy

Expert
Licensed User
Nice to see you're still around too... I've used your. INI before with b4ppc, and this version comes just handy for an ongoing project I have
 

Cableguy

Expert
Licensed User
Hi again Massimo,

I started implementing your lib in my project and a few doubts arise:

- getFileName: what does it return if empty? (Null or "")
- When writink a key, any key, to a section, if the section does not exist, will it be created automatically?

that's all for now, more will soon!
 
Top