BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-06-2005, 09:54 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100t
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question I18n resource interface

Please Login to Remove!

I'm having trouble with resources. The Application Developer Guide states:

Quote:
To support internationalization, implement the appropriate resource interface. The IDE compiles this interface from the resource header (.rrh) automatically. The name of the interface is the name of the .rrh file with Resource appended to it.
The interface is not being created so I'm getting an exception at compile time. What am I doing wrong?

Thanks,

Paul
Offline  
Old 08-06-2005, 01:19 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you add the RRH and RRC to the project?

Does they both have the proper package name?
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
Offline  
Old 08-06-2005, 01:27 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100t
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Yes, I added them both to the project. I tried different package names - I'm not sure what package to put in the rrh. Let's say I have the project arranged like this:

code in directory: com/x/y
resources in: com/x/y/resource

What should I put for the package? I tried using com.x.y.resource and importing com.x.y.resource.MycodeResource in the class using the resource but no luck.

Thanks,

Paul
Offline  
Old 08-06-2005, 04:01 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100t
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's working now. On the properties sheet for the rrh file I had "Dependency only" checked. After I cleared the check it built just fine. Thanks for the help!

Paul
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.