Back to project page Android-SDK-Demo.
The source code is released under:
Apache License
If you think the Android project Android-SDK-Demo 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.baasbox.demo; /* w w w . j a v a 2s . c o m*/ import com.baasbox.android.BaasBox; import android.app.Application; public class App extends Application { public static BaasBox bbox; @Override public void onCreate() { super.onCreate(); BaasBox.Config config = new BaasBox.Config(); config.apiDomain = "10.0.0.2";//TODO change to real IP for device or remote server test config.authenticationType = BaasBox.Config.AuthType.SESSION_TOKEN; bbox = BaasBox.initDefault(this, config); } }