开发者

Sharing of library files between apks

开发者 https://www.devze.com 2022-12-27 23:21 出处:网络
Can I share a library between two applications/apks where it is packed with any one of it开发者_JAVA技巧?You can present Activities from one application to another to avoid needing to share libraries.

Can I share a library between two applications/apks where it is packed with any one of it开发者_JAVA技巧?


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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号