I have a number of static constants that I am using for mathetmatical reasons in my app (these are parameters that should be tweaked only be developers and not by the users).
On the NDK side I have a header file (.h) containing the values of all these constants. Similarly, on the Java side I have a class that keeps track of the same variables (copied).
Is there one place (one file) where I can store these constants for use by both Java and C++? Maybe something like an XML file so a developer only has to tweak the constants there?
If so, how should I properly implement it (get).