Is there any way to know dynamically and programmatically the versionCode of an Android application??
I don´t know... maybe something like
getApplicationContext.getVersionCode();
Thank you very much.
If you're using gradle (default in AndroidStudio) you can:
BuildConfig.VERSION_CODE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With