Making it a shared library is not going to keep your app small, it will just
move the code around. In fact, the result will be larger, as Dalvik can't
do as much combining of symbols and such as it does when code is statically
linked together.
The only thing a shared library helps for size is that if there is another
app it can also use the same shared library so there isn't another copy...
but then the price for that is you now need to deal with library versioning
and "DLL hell" and all that fun stuff.
Currently Android does not support third party shared libraries.
On Thu, Jul 29, 2010 at 8:24 AM, { Devdroid } <[email protected]>wrote:
> On 29 July 2010 16:46, James Wang <[email protected]> wrote:
> > Platform library is a choice but I do not think it can be distributed
> > by Market.
>
> Thanks, that's what I thought. Distribution is not a problem but I expect
> user
> won't be able to install such (unless rooted).
>
> Damn, all my attempts to keep the app as small as possible gets nuked :(
> Too bad as it looks I have no choice but to make bloatware... Blah
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
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