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
Posts: 96
Registered: ‎06-11-2009
My Device: Not Specified

Problem Loading Resource

Hi,

 

In my application i am using LWUIT. When i make a cod file using my applications jar file i am able to load the images and the resource and get the application running on the device. When i try building the sources on the JDE my application throws a null pointer exception. When i debug i noticed that the exception is thrown while loading the resource file and while loading the images. The path seems to be fine too. Can someone help me with this please.

 

 

Thanking you,

Regards,

S.A.Norton Stanley

Developer
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: Problem Loading Resource

Go throught this. You will get some idea how to use resources in your application.

http://na.blackberry.com/eng/devjournals/resources/journals/sep_2006/localization.jsp

 

Regards

Bikas

Developer
Posts: 96
Registered: ‎06-11-2009
My Device: Not Specified

Re: Problem Loading Resource

Hi,

 

Thank you. Is it not possible for me to use the already existing LWUIT resource file i have?

 

 

Thanking you,

Regards,

S.A.Norton Stanley