You can use regular Ant Build commands to package your app code into a JAR, 
or use the new build system for that 
(http://tools.android.com/tech-docs/new-build-system/user-guide).

The simplest way though is just to mark your project as Android Library and 
pull the resulting JAR (they modified ADT to automatically create JAR a 
long while ago). Just notice that these libraries are very constrained in 
using resources and some instances of Switch statements. Future android 
builds are supposed to fix this by using the R files a bit differently.

On Wednesday, April 24, 2013 3:42:52 PM UTC+3, mbarbiero wrote:
>
> I need to create a JAR lib (like KSOAP or Spongycastle) to distribute but 
> I dont find documentation! 
> Is it possible?
> Can anybody help me?
> Thanks
> mBarbiero
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to