I haven't used this, but it might be what you're looking for:
http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

On Aug 26, 5:59 pm, Bret Foreman <bret.fore...@gmail.com> wrote:
> I moved some of my useful utility code into a library where multiple
> projects can easily access it. Among those utility classes is one that
> parses values out of some files in the res folder using the following
> call:
>
>                 myXmlParser =
> passedInContext.getResources().getXml(passedInResourceID);
>
> Where passedInContext is of type Context and passedInResourceID is an
> int and both are passed into the utility class from the calling
> package.
>
> When I build a project that uses the library I get the following
> error:
>
>  --custom-package generates R.java into a different package.
>
> What should I do to get an XmlResourceParser or XMLPullParser for an
> xml file in the res folder in this case?

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