Galaxy Java SDK User Guide
Including SDKs of XiaoMi SDS, EMQ, EMR, and Talos.
INSTALLATION
- If using maven to management, you can just depend latest jars from maven central repository.
-  Checkout to the newest release and use its version in dependency. 
-  Use corresponding SDK artifactId. 
-  For example, to use EMQ, 
    <dependency>
      <groupId>com.xiaomi.infra.galaxy</groupId>
      <artifactId>galaxy-emq-client</artifactId>
      <version>1.2.7</version>
    </dependency>
- Download source codes from github and compile it your self. Github link: https://github.com/XiaoMi/galaxy-sdk-java.git For example, in maven using mvn clean install
NOTICE
-  HttpClientof our SDKs support multi-thread, if you need greater concurrency, you can create your ownHttpClientand pass it to the constructor of classClientFactory. (References and examples ingalaxy-client-java,sds-android-examples):ClientFactory(Credential credential, HttpClient httpClient)
-  When compiling sds-android-examples, you must installAndroid SDKand set environment variableANDROID_HOMEto the install path ofAndroid SDKbefore. Our examples usedAndroid SDK API Level 19.
 JarCasting
 JarCasting