Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Guida alla Risoluzione dei Problemi Pagina 243

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 286
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 242
243
16: Localizing applications
Manage resource files for application suites
When creating a suite of applications, organize the resources into separate projects for each locale.
Task Steps
Create resource projects. 1. Open the BlackBerry® Integrated Development Environment.
2. Create a project for each resource bundle (locale), including the root locale.
3. Give the projects for each locale the same name as the project for the root locale, followed by
a double underscore (__), the language code, and, optionally, an underscore (_) followed by
the country code.
For example, if the root locale project is named com_company_app, the projects for each
locale would be named com_company_app__en, com_company_app__en_GB, and
com_company_app__fr.
Specify output file names. The output file names for all resource locale projects must be the same as for the root locale,
followed by a double underscore and the appropriate language and country codes.
1. Right-click the project, and then click Properties.
2. On the Build tab, in the Output file name field, type a name for the compiled file, without a
file name extension.
Create an initialization file. > The BlackBerry IDE provides a built-in initialization mechanism, so that you only need to
create an empty initialization class with an empty
main().
package com.rim.samples.device.resource;
import net.rim.device.api.i18n.*;
public class init {
public static void main (String[] args) { }
}
Add files to appropriate resource
projects.
If you support a large number of locales, create a single library project for all resource header (.rrh)
files and set the project type to Library. For each resource locale in this project, define a
dependency between the projects.
1. Create one .rrh file for each application.
2. Add the .rrh files to the project for each application.
3. Add the .rrh files to each resource project.
4. Create one resource content (.rrc) file for each application.
5. Create one .rrc file for each supported locale.
6. In each resource project, right-click each .rrh file, and then click Properties.
7. Select Dependency only. Do not build.
8. Add the .rrc files to the projects for the appropriate locales.
Vedere la pagina 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 285 286

Commenti su questo manuale

Nessun commento

Omega Engineering GP901 manuals

Owner’s manuals and user’s guides for Thermometers Omega Engineering GP901.
We providing 1 pdf manuals Omega Engineering GP901 for download free by document types: User Manual






More products and manuals for Thermometers Omega Engineering

Models Document Type
HH501BR User Manual   Omega Engineering HH501BR User Manual, 14 pages
FSW-50 User Manual   Omega Engineering FSW-50 User Manual, 8 pages
M1982/0902 User Manual   Omega Engineering M1982/0902 User Manual [en] , 2 pages
OSXL450 User Manual   Omega Engineering OSXL450 User Manual, 4 pages
J DIALTEMPTM M0102 User Manual   Omega Engineering J DIALTEMPTM M0102 User Manual, 4 pages
HH504 User Manual   Omega Engineering HH504 User Manual, 15 pages
OS1592 User Manual   Omega Engineering OS1592 User Manual, 18 pages
CN9400 User Manual   Omega Engineering CN9400 User Manual, 38 pages
HH801B User Manual   Omega Engineering HH801B User Manual, 2 pages
OSP100 Series User Manual   Omega Engineering OSP100 Series User Manual, 2 pages
HH507R User Manual   Omega Engineering HH507R User Manual, 21 pages
HH505 User Manual   Omega Engineering HH505 User Manual, 15 pages
OMEGASCOPE OS532E User Manual   Omega Engineering OMEGASCOPE OS532E User Manual, 2 pages
OM88128 User Manual   Omega Engineering OM88128 User Manual, 45 pages
HH806AW User Manual   Omega Engineering HH806AW User Manual, 3 pages
HH306 User Manual   Omega Engineering HH306 User Manual, 13 pages
HH802U User Manual   Omega Engineering HH802U User Manual, 2 pages