BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   wrong values from ResourceBundle (

malani_manish 07-15-2009 04:37 AM

wrong values from ResourceBundle
I am facing a weired problem in my BB application. I am trying to fetch strings from resource bundle but I am not getting the right values against the Key I am supplying.
I have verified everything, rrh, rrc and interface files. all are in synch and key value pairs are correct in these files.
I debug my code and put the breakpoint at getString() and found that this method is returning me wrong value against my key.

Does anybody have come across such issue ever? Please help.

Thank you

malani_manish 07-15-2009 05:09 AM

Sorry, Please remove this post. I found my stupid mistake. I had declared constants in my class with exactly same name as Keys in resource bundle. I am sorry for my carelessness.

zerog46 07-15-2009 05:13 AM


All times are GMT -5. The time now is 08:27 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.