Back to project page box-android-sdk-v2-master.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRI...
If you think the Android project box-android-sdk-v2-master listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.box.android.sample; /* www . j a va 2s . c o m*/ import android.app.Application; import com.box.boxandroidlibv2.BoxAndroidClient; /** * The application class which contains a singleton instance of BoxAndroidClient. */ public class BoxSDKSampleApplication extends Application { // TODO: use your own client settings public static final String CLIENT_ID = ""; public static final String CLIENT_SECRET = ""; private BoxAndroidClient mClient; public void setClient(BoxAndroidClient client) { this.mClient = client; } /** * Gets the BoxAndroidClient for this app. * * @return a singleton instance of BoxAndroidClient. */ public BoxAndroidClient getClient() { return mClient; } }