Discussion in 'Android Development' started by INGSS1, Sep 5, 2017.
How do I transfer five strings from C++ to Java?
Your question is not clear. Can you please clarify what you're trying to do?
I'm trying to move color hex values as strings, from c++ to Java. Perhaps using an h file.
In an Android app project, there's a specific file which contains color constant values, which is /res/values/colors.xml.
This is where you should put your hex strings.
From C++ somehow? I'm running C++ code because it is a high memory amount of code. I'm making an app that translates names or words into aura color information. So, somehow I must route strings that change. I'll check this colors.xml out though.
The strings have to be changing variables. The colors of some panels, have to change. That is why I need to transfer strings from c++ to java.