Example usage for android.support.v4 BuildConfig VERSION_CODE

List of usage examples for android.support.v4 BuildConfig VERSION_CODE

Introduction

In this page you can find the example usage for android.support.v4 BuildConfig VERSION_CODE.

Prototype

int VERSION_CODE

To view the source code for android.support.v4 BuildConfig VERSION_CODE.

Click Source Link

Usage

From source file:edu.uri.egr.hermes.Hermes.java

private Hermes(Context context, Config config) {
    this.context = context;
    this.config = config;

    // Plant timber if we request debug.
    if (config.debug)
        Timber.plant(new Timber.DebugTree());

    // Connect to Google.
    createGoogleClient();/* w ww.j a va2s.  c  o m*/

    mRootFolder = config.baseFolder;
    if (mRootFolder == null)
        mRootFolder = Environment.getExternalStorageDirectory();

    mRootFolder.mkdirs();

    Timber.i("Hermes (%s) - Cody Goldberg [WBL]", BuildConfig.VERSION_CODE);
}