问题
My question is.. Is it possible to silently auto update an application on a non rooted device? if the device is rooted then it updates my application with super user permission otherwise not. plz do rply thanks!
回答1:
It's impossible to silently auto update an application on a non-rooted device. Android security model prevents this (for a good reason), and AFAIR there's no workaround except rooting the phone. You may check the autoupdater source code I wrote to see how it's done.
回答2:
i think i don't get your question by 100%, but have you seen the "auto update this app" on the play store?
when you download an app you have this checkbox so the user can decide. As a developer I think you cannot.
来源:https://stackoverflow.com/questions/13118807/autoupdate-of-an-application-on-non-rooted-device-in-android