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 <[email protected]> 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 <[email protected]> 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 <[email protected]>:
>
> > > 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 [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
>
> > --
> > 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [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