FFI - how do I get the value of an Android field/constant
Posted: Tue Apr 21, 2020 1:58 am
I just know that this is going to turn out to be incredibly easy, but I've spent a day working on it and got no where. Using the FFI, how do I get the value of a field (constant)?
For example, for android.os.Environment (https://developer.android.com/reference ... nvironment), how do I retrieve the value contained in the public static string DIRECTORY_DOCUMENTS?
Thanks in advance
Kim
For example, for android.os.Environment (https://developer.android.com/reference ... nvironment), how do I retrieve the value contained in the public static string DIRECTORY_DOCUMENTS?
Thanks in advance
Kim