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.example.helloworld; /* w w w . j a v a2 s . co m*/ import android.app.Application; import com.box.boxandroidlibv2.BoxAndroidClient; public class HelloWorldApplication extends Application { public static final String CLIENT_ID = "hs8k9gu30co0rx5htt91gs0xcevntaxp"; public static final String CLIENT_SECRET = "QvTijDGniBGv7Jhk26teeS45D6do0nBH"; public static final String REDIRECT_URL = ""; 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; } }