stringblackberry-10

Blackberry 10 string constant file support


I am looking for Blackberry 10 string constant definition file. Where I place application strings like in Android we have string.xml


Solution

  • There is no default file on BlackBerry 10 projects where you should put your string constants, I usually add a common.hpp header file with my string constants and access it anywhere by including the header file.

    Example of common.hpp : https://github.com/RodgerLeblanc/Extend/blob/master/ExtendService/src/common.hpp