There's even more hackish but perfectly working solution AND you get all the
Android project niceties with it :)

1. Create regular Android project
2. Manually remove Android nature from .project file
3. Done :)

Cheers,
Max


2010/5/4 Mario Zechner <badlogicga...@gmail.com>

> Actually, i do something a bit nasty to get a seperate Android library
> project. In your SDK folder you have several android jars for the
> different Android versions. I simply create a Java project and add the
> lowest Android version jar i want to support as a dependency et voila
> you have a nice Android library project.
>
> On 4 Mai, 08:11, Menion <menion.as...@gmail.com> wrote:
> > You say that sharing resources between projects is coming? Hopefully,
> > thx for very, very good info :)
> >
> > On May 3, 11:34 pm, Xavier Ducrohet <x...@android.com> wrote:
> >
> >
> >
> > > If you're code is straight java with no android resources then just
> > > create a Java project and reference it by your Android projects.
> >
> > > Android libraries allowing you to share (android specific) code and
> > > resources between projects is not supported at the moment, but it's
> > > coming.
> >
> > > Shared libraries are not supported at this time by the platform and I
> > > don't think there's any plan for it.
> >
> > > Xav
> >
> > > 2010/5/3 Rafał Grzybowski <aguyngue...@gmail.com>:
> >
> > > > I'm working on two android applications and would like to share some
> > > > code between them. My guess is I need to create Java library and put
> > > > all the required code there. But I don't know:
> > > >  - what kind of project create for the library in Eclipse,
> > > >  - does the shared library can contain Android resources,
> > > >  - what about AndroidManifest.xml for the library, is it possible to
> > > > have one,
> > > >  - is it possible to deploy shared library once on the device or is
> > > > it shareable during development and then deployed per Android
> > > > application?
> >
> > > > Thank you.
> >
> > > > --
> > > > 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<android-developers%2bunsubscr...@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > Xavier Ducrohet
> > > Android SDK Tech Lead
> > > Google Inc.
> >
> > > Please do not send me questions directly. Thanks!
> >
> > > --
> > > 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<android-developers%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group athttp://
> groups.google.com/group/android-developers?hl=en
> >
> > --
> > 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<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group athttp://
> groups.google.com/group/android-developers?hl=en
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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