Mark,

thanks for your answers.

On Dec 10, 3:12 pm, "Mark Murphy" <[email protected]> wrote:
> > * In short:
> > Is it possible to reuse classes and resources from A.apk in B.apk?
>
> Classes, no. Resources, sorta, but I'm not sure it's a good idea, since
> you have no way of ensuring that each device has both A and B (versus
> having only A or only B).

According to
http://developer.android.com/guide/publishing/versioning.html
B can check if A is installed. It can even check which version of A is
installed :)

> 4) Package the reusable classes in a separate JAR file and include those
> JARs in other projects. All of the cwac-* projects on my github page use
> this pattern:
>
> http://github.com/commonsguy
>
> However, resources don't work for this pattern.

And that's the problem for me - I need resources also :(

>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

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