BlackBerry: localization, resource set

I need help locating BlackBerry. I completed a lesson at http://na.blackberry.com/eng/developers/resources/developer_labs.jsp#tab_tab_jde entitled Application Localization . I created a resource header file (.rrh) and a resource resource file (.rrc). Am I confused when they get this "CityInfoBResource"? This is a file called "CityInfoBResource.java" and contains some definitions. See Note 1. How is this file created? Please give me some hints as to how I can generate this file or point me in the right direction, thanks.

Note 1:
package com.rim.samples.cityinfo.i18n;

public interface CityInfoBResource {
    // Hash of: "com.rim.training.cityinfo.i18n.CityInfoB".
    long BUNDLE_ID = 0x14bf5713287b65c0L;
    String BUNDLE_NAME = "com.rim.training.cityinfo.i18n.CityInfoB";

    int FIELD_TITLE = 1;
    int FIELD_NEWYORK_POP = 17;
    int CLOSE = 20;
    int FIELD_LA_SIGHTS = 21;
    int FIELD_CITIES = 2;
    int FIELD_STATE = 7;
    int APPLICATION_TITLE = 0;
    int FIELD_LA_POP = 10;
    int FIELD_NEWYORK_STATE = 18;
    int FIELD_CHICAGO_SIGHTS = 15;
    int FIELD_CHICAGO_STATE = 14;
    int FIELD_CHOICE = 3;
    int FIELD_CHICAGO_POP = 13;
    int MENUITEM_VIEW = 4;
    int FIELD_LA = 9;
    int FIELD_NEWYORK = 16;
    int FIELD_LA_STATE = 11;
    int FIELD_CHICAGO = 12;
    int FIELD_NEWYORK_SIGHTS = 19;
    int FIELD_POP = 6;
    int MENUITEM_CLOSE = 5;
    int FIELD_SIGHTS = 8;
}
+5
1

. "MyFile.rrh" ( .rrc), BlackBerry "MyFileResource" (, , , .rrh ).

, .java . JDE JDE Plugin Eclipse , .rrh , .

+7

All Articles