views:

70

answers:

3

Can I share a library between two applications/apks where it is packed with any one of it?

A: 

Depending on the kind of data you could use a shared DB or folder/file on the SD card. With files/folders you would need to manage consistency yourself as both applications can run at the same time :)

Ravi Vyas
+1  A: 

You can present Activities from one application to another to avoid needing to share libraries.

ck
A: 

Look at this tutorial page for using library resources - it may help you acheive a shared resources model. Note that android SDK 2.0 and pre-1.5 are not capable of creating libraries for some reason. http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

stinkbutt