android update/install version checking -


i'm new in android developing. (and in developing after all)

here problem: if install android application onto mobile device or avd, want check current app version number , if it's lower 1 want install install it, , if higher , alert users use latest version.

because when install .apk file, installs app again , nothing happens.

is possible develop this?

best regards,

weeyas

the install process managed @ system level, application has no control on it. per versioning guide, android system allow install updates same or newer version codes (i.e., version 1 can replaced version 2, version 2 can never overridden version 1 unless complete uninstall/reinstall). applies both google play updates , sideloading apks yourself.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -