I am curious tho.. can your app download a .jar file and dynamically load it and use the code in it? I would guess not, but not sure how Android prevents? I am thinking along the lines of virtual goods. Not that virtual goods have to be written code.. ideally they would be some sort of description/rules/images, but I have been thinking of how you can download, say plugins to a browser for example... is that even possible or does Android's classloader hierarchy completely prevent this ability to dynamically load classes from .jar files?
On Sat, Mar 27, 2010 at 8:50 AM, Streets Of Boston <[email protected]>wrote: > You can't 'automatically' upgrade your application. It always need > user approval. > > When installing an APK, the user will be informed of the permissions > and he/she can decide to install or upgrade the application. > > This is a good thing. If apps could automatically upgrade themselves, > without user consent/confirmation, that would be an enormous security > hole. > > > On Mar 27, 8:11 am, A R <[email protected]> wrote: > > Hello Everyone, > > > > Is it possible for an app to upgrade itself? > > > > I am trying it but it doesnt seem to work. My app downloads its > > upgrade, starts the upgrade/installation process which finishes > > successfully but when I start the app its still the old one. > > > > When I installed my app normally I was seeing "Not granting > > permission android.permission.INSTALL_PACKAGES to package <package > > name>" in logs. > > > > So based on another threadhttp:// > groups.google.com/group/android-developers/browse_thread/threa... > > I installed the app in /system/app folder so now there is no error > > message but result is still same. > > > > Do I need a separate installer app to upgrade my app? > > > > Kindly advice. > > > > Regards, > > Amit. > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

