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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
technolgia
Posts: 96
Registered: ‎06-11-2009

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

Please use plain text.
Developer
bikas
Posts: 984
Registered: ‎02-10-2009

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

Please use plain text.
Developer
technolgia
Posts: 96
Registered: ‎06-11-2009

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

Please use plain text.