Hi Dianne, I have a question about that. When uninstall updates for a pre-installed APP, will system remove the /data/data/<package-name>/ folder?
I have read a little code about the install, seems system will remove it and re-install the APK in /system/app. Just want to confirm. Thanks. Cruise 在 2010年7月7日星期三UTC+8上午3时36分07秒,Dianne Hackborn写道: > > Yep this is to remove an update to a pre-installed app. This has been in > the platform since 1.6. > > On Tue, Jul 6, 2010 at 3:23 AM, Mark Murphy <[email protected]>wrote: > >> On Tue, Jul 6, 2010 at 6:15 AM, Mark Carter <[email protected]> >> wrote: >> > I noticed that (on Froyo) when viewing Google Maps using the Market >> > app (or going through Manage Applications), there is a button to >> > "Uninstall Updates". I haven't seen this for any other app (but I >> > haven't looked that hard either). >> >> If I had to guess, this is because Maps comes on the firmware and can >> be updated via the Market. They label it "Uninstall Updates" because >> removing the Market package would result in you still having the Maps >> app, just back to the firmware edition. >> >> > Is this functionality available to the rest of us devs? >> >> If you ship as part of phone firmware, presumably yes. For example, >> the device manufacturer might ship 1.0 of your app but tell you to >> push updates via the Market for 1.1, 1.1b, System 3000, Mark V, and >> 1.1c of your app. >> >> Note, though, that this is an educated guess, based on a few >> conversations, with only a passing resemblance to absolute assurance. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> _Android Programming Tutorials_ Version 2.8 Available! >> >> -- >> 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 >> > > > > -- > 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

