I searched lots of webpage but i found solution suddenly during try and find solution method 🙂

If you are using Eclipse for Blackberry Java Development and want to use Blackberry Resource File.

How can we implement this resource files (*.rrc and *.rrh) to our application ?

I don’t know maybe it’s a simple but solution is :

Give your resource files same as with your application.

And use this implementation method;

public class ScreenWelcome extends MainScreen implements DelegationResource {
ResourceBundle _resource = ResourceBundle.getBundle ("Delegation");
// ...
}

Just add Resource word to the end of your main resource file. And use ResourceBundle class to use it.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.