aha, it seems that i do have to provide a fully qualified package name for the call to work.

interestingly i find that in the source, getValue() calls getIdentifier() with a null package name, explaining a few things.

i'm still on 1.6, is this a problem, and has it been fixed in later versions?


ISTR this working without problems, but i don't know what's going on here. i was using getValue(), but then after that couldn't find the resource i started using getIdentifier() followed by getString().

well,

resources.getIdentifier (resourceName, "string", null);

returns 0 for my named resource, which is sitting happily in my strings.xml file. i've verified that the context coming through is indeed a major activity in my app, checked case sensitivity, all that.

is there anything that can go wrong here? seems simple, but it's not happy.

thanks
--
jason.vp.engineering.particle


--
jason.vp.engineering.particle

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to