I have an android application that maintains some confidential data (encrypted) and I'm trying to handle a case where this encrypted data is maintained across an update of my application. I want different versions of my application to have different encryption keys and I dont want new versions of the application to contain keys for every preceeding version.
My idea was to run some code on application install which would allow for re-encryption of this data, but I android firstly doesnt seem to provide any means to execute application code in application install. secondly, I dont see anyway for the newly installed version of the application to execute code in the previous version. This doesnt seem so unreasonable a thing to do for me, can someone confirm that android doesnt allow this and explain why ? In terms of solutions, I have to either use the same key for all applicaitons or have a new version of my application reconstruct this data through other means ... -- 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

