I have an android project and I'm using a custom .properties file, that I store in in a packet together with a class with which I can access it. While I run the programm I need to change some values of the .properties file but I can't access it as I don't know which is the Location it is stored in my device.
I thought about accessing to it by using InputStream
and change the values like in java with an OutputStream
, but while in InputStream
there is the getResourceAsStream
method in OutputStream
there is not an opposite method in order to perform the action I want.
I have searched on the Internet, but the only solution I found is to move my .properties file into assets directory and get access to it using AssetsManager
, which I don't want to!
I'm a newbie in android so any help will be welcomed !!