Android Open Source - Android-SDK-Demo App






From Project

Back to project page Android-SDK-Demo.

License

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.

Java Source Code

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);
  }
}




Java Source Code List

com.baasbox.demo.AddressBookActivity.java
com.baasbox.demo.App.java
com.baasbox.demo.LoginActivity.java
com.baasbox.demo.SignupActivity.java
com.baasbox.demo.util.AlertUtils.java