Not really :(. Let me explain couple steps I made do discover how is
it possible:
1. Create a regular java library (third party user will reference it
from his android application and use classes declared in it). This
solves the problem until I want to have embedded resources and access
them via the R file (normally generated by an android SDK). The second
thing I'm unable to do is create xml attributes for custom views
contained in that library. This way user can't comfortably have these
views in his layout files (like he does with an android.jar
referenced).
2. Create an android library (which will have an AndriodManifest.xml
file (with no application tag declared though) and eclipse plugin will
recognize it as android library correctly along with taking care of
"R" file generation). This way works until I try to instantiate any of
the views declared in my library. Execution fails with exception. I've
tried to google that one but didn't find anything useful.

I am pretty sure there is a way to create custom library for android
that would do the trick. Please share your thought on this. It would
be much of help.


On May 12, 3:20 pm, eisernWolf <[email protected]> wrote:
> "It needs to have the  same access to my internal resources as it is
> done in android.jar library." ©
> So you already know the answer, what's the problem?
>
> On May 11, 10:49 pm, "paul.turchenko" <[email protected]>
> wrote:
>
> > Anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to