Posted by Best Coder | Posted in BlackBerry | Posted on 13-03-2010
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;
[sourcecode language="java"]public class ScreenWelcome extends MainScreen implements DelegationResource {
ResourceBundle _resource = ResourceBundle.getBundle ("Delegation");
// …
}[/sourcecode]
Just add Resource word to the end of your main resource file. And use ResourceBundle class to use it.
