Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How can you get the build/version number of your Android application?

import com.yourpackage.BuildConfig; ... int versionCode = BuildConfig.VERSION_CODE; String versionName = BuildConfig.VERSION_NAME;
Source by androidandrey.com #
 
PREVIOUS NEXT
Tagged: #How #number #Android
ADD COMMENT
Topic
Name
5+7 =