Back to project page Tacere.
The source code is released under:
MIT License
If you think the Android project Tacere listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (c) 2014 Jonathan Nelson/* w w w . j a v a2 s . c o m*/ * Released under the BSD license. For details see the COPYING file. */ package org.ciasaboark.tacere.versioning; import org.ciasaboark.tacere.BuildConfig; public class Versioning { public static String getVersionCode() { String versionCode = BuildConfig.APP_VERSION_MAJOR + "." + BuildConfig.APP_VERSION_MINOR + "." + BuildConfig.APP_VERSION_RELEASE; if (BuildConfig.DEBUG) { versionCode += " pre-release debug build (" + BuildConfig.BUILD_DATE + ")"; } return versionCode; } public static String getReleaseName() { return BuildConfig.VERSION_NAME; } public static int getReleaseNumber() { return BuildConfig.VERSION_CODE; } }