Hi there,

I am facing problems getting the id of a resource by name when using a
library project:

int resId = context.getResources().getIdentifier("myresname",
"drawable", "net.iberdroid.mygamecore");

It seems like this always returns 0 when using the project as a library,
but it were working flawlessly while it was an standalone project.

net.iberdroid.mygamecore is where those resources resides, and in fact
they are there.

That code is even executed within the library project package, not from
the android project that links it.

Any ideas?

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

Reply via email to