On Sun, May 24, 2009 at 2:45 AM, MrSnowflake <mrsnowfl...@gmail.com> wrote:

> Apk files are like installers and cab files on Windows Mobile, they
> are not the applications it self, but a mechanism to install the
> application (task) they contain.


Actually an .apk is not an installer -- there is no code in it to install
itself.  If you want to compare it to anything, it is really a .jar file.
All that "installing" an .apk means is the system parsing its manifest to
find out what it contains (and storing its few persistent pieces of data
such as the assigned uid, certificate, etc), and performing the final dex
optimization on the code for the current running environment.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to