There's a terminology conflict at work here.

Class.getResource(String) and friends vs. Context.getResources() and
friends. To add to the confusion, they really *are* performing the
same task, albeit differently and on disjoint data.

The stuff inside a .jar file is accessed with
Class.getResource(String), while strings.xml is accessed via
Context.getResources().

To add further to the confusion, most of my comments could apply to
either, but the main discussion is referring to
Context.getResources().

On Dec 7, 7:39 am, Mark Murphy <[email protected]> wrote:
> On Tue, Dec 7, 2010 at 10:35 AM, Ecthelion <[email protected]> wrote:
> > Yes, if the library project includes all the sources. But in this case
> > part of the foreign code is inside a jar file.
>
> Resources cannot be in a JAR file.

-- 
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