On Mon, May 10, 2010 at 10:29 PM, karteek <[email protected]> wrote:

> Sorry I said Java files means it is also using android packages.
> As you said uses-library is for only  sdk add-ons.
> Can't we generate add ons to include in my applications
>

No, this is only for things built in to the system image.  Third party
shared libraries are not supported.


> My overall idea is to make use some repeated functionality as an
> library.
> If i want to generate jar file i need to write it as pure Java
> application but here it is also using some android api's.
> what is the way to achieve this.
>

You don't need to write it as pure Java.  You can have whatever Java code
you want in a .jar and include it as a static library.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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