Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: AfterUpdate() Method #6

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

Please add a method for running a block of code after the update, there are 
numerous ways to implement.  To be honest the only problem I see is 
implementation.  In my library I use an event dispatcher so if it was up to me, 
i would want an event to trigger that i can input any code I want in that 
block, but I don't think thats something you could do.

Maybe something like a start and stop such as

AutoUpdateAPK.startAfterUpdate();
//do my code
AutoUpdateAPK.endAfterUpdate();


There is probably a better way, but I can't think of it.

The reason I would want to do this, is so possibly I could add a dialouge popup 
after the update that advises users of the changes (release notes).


Original issue reported on code.google.com by bric...@gmail.com on 15 May 2012 at 1:01

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

I don't know if it's possible to intercept an application update started from 
notification and performed by the Market. If you want to add a dialog after 
update, it might be easier to save the application version (or other info) in 
saved preferences and pop a dialog when this saved version is not equal to the 
current one (which means application has changed).

Original comment by lenik.terenin on 13 Jun 2012 at 6:01

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.