On Mon, Jun 25, 2012 at 12:07 AM, Build Account <[email protected]>wrote:

> Do you know...which module/app save an apk into '/data/app/'
> 1. when it downloaded from the app Google Play?(Google Play itself?)
>

PackageManagerService


> 2. when run debugger through Eclipse, which module save into?
>

PackageManagerService


> 3. Is that always overwrote prior same apk successfully?
>

That is an implementation detail, and you are doing something wrong if you
care about it.  The way this works has changed across different versions of
the platform.  In current versions, it picks a name that is different from
the name of the currently installed version, and once install of the new
version completed successfully it points its data structures to the new
path and deletes the old .apk file.

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

Reply via email to