Thread: rasource bundle
View Single Post
Old 09-23-2009, 12:57 AM   #2 (permalink)
New Member
Join Date: Aug 2009
Model: 8300
Carrier: None
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts

What is the error you're getting?

I guess you don't need to specify the resource name while sending a parameter to getString method. Try using...

String s1 = _resources.getString(HELLO_WORLD_STRING);

When you select getString and click enter, you get a list of constants associated with the resource bundle to select from. Probably you'll even get HELLO_WORLD_STRING as an option.
Offline   Reply With Quote