Rmac wrote:
> I am working on an Android project I want to use as a base library for
> other Android apps.  The base has its own set of classes and
> resources.  I can create a jar containing all the base components and
> those are referenced properly by another project, but during runtime
> the base classes used in the new app cannot find the drawables used in
> the base project.  Since there is a 'res' directory in each Android
> project, the new app cannot locate resources outside of itself even
> though it is the base classes trying to reference them.
> 
> Are there ways to utilize or chain Android projects together? 

With respect to resources, structure your base API to accept resource
IDs as API parameters.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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