Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
ankit2grover
Posts: 159
Registered: ‎08-19-2008
My Device: Not Specified
Accepted Solution

Localization-How to create an interface of .rrh file using jde?

Hi,

   I created my own .rrh and .rrc files,but when i build my project in jde 4.5 there is no corresponding interface is created for .rrh file.....Please tell me how to create interface by using jde and where it is located ?

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Localization-How to create an interface of .rrh file using jde?

see BlackBerry_Developer_Guide_v4.6.pdf, p. 179ff
it can be obtained here:
http://na.blackberry.com/eng/support/docs/subcategories/?userType=21&category=BlackBerry+Java+Application+Development&subCategory=BlackBerry+Java+Development+Environment
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
ankit2grover
Posts: 159
Registered: ‎08-19-2008
My Device: Not Specified

Re: Localization-How to create an interface of .rrh file using jde?

hey,

        i created .rrh & .rrc files   according to the instructions of the developer guide.But,after building the project no interface is created of .rrh file(as specified in developer guide that after building the project JDE automatically creates an interface)........But no interface is created....Shall i need to change any fields of properties of my project?

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Localization-How to create an interface of .rrh file using jde?

the interface is no longer visible, it is used internally afaik. you can create a similar interface to use in eclipse (etc), just don't add it to your JDE project.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
ankit2grover
Posts: 159
Registered: ‎08-19-2008
My Device: Not Specified

Re: Localization-How to create an interface of .rrh file using jde?

Thanx.....Ya,may be you are saying right, it is not visible ....how i create my own interface? Shall i put any random values in the fields,actually i do not have any experience of working with blackberry in eclipse?

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Localization-How to create an interface of .rrh file using jde?

create an interface named NAMEResResource (with NAME = your module name).
create a long BUNDLE_ID and a String BUNDLE_NAME and set some (random) values.
you can now add resource-strings, again with a random value as all are handled by the internal JDE interface.

you have to create the resource entry in the rrh/rrc files and copy the name of the entry into your own interface.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
ankit2grover
Posts: 159
Registered: ‎08-19-2008
My Device: Not Specified

Re: Localization-How to create an interface of .rrh file using jde?

Thanx .........