Galaxy SDK Common

Xiaomi Galaxy Service SDK

License

License

GroupId

GroupId

com.xiaomi.infra.galaxy
ArtifactId

ArtifactId

galaxy-sdk-common
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Galaxy SDK Common
Xiaomi Galaxy Service SDK

Download galaxy-sdk-common

How to add to project

<!-- https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-sdk-common/ -->
<dependency>
    <groupId>com.xiaomi.infra.galaxy</groupId>
    <artifactId>galaxy-sdk-common</artifactId>
    <version>1.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-sdk-common/
implementation 'com.xiaomi.infra.galaxy:galaxy-sdk-common:1.2.2'
// https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-sdk-common/
implementation ("com.xiaomi.infra.galaxy:galaxy-sdk-common:1.2.2")
'com.xiaomi.infra.galaxy:galaxy-sdk-common:jar:1.2.2'
<dependency org="com.xiaomi.infra.galaxy" name="galaxy-sdk-common" rev="1.2.2">
  <artifact name="galaxy-sdk-common" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.xiaomi.infra.galaxy', module='galaxy-sdk-common', version='1.2.2')
)
libraryDependencies += "com.xiaomi.infra.galaxy" % "galaxy-sdk-common" % "1.2.2"
[com.xiaomi.infra.galaxy/galaxy-sdk-common "1.2.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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>

NOTICE

  • HttpClient of our SDKs support multi-thread, if you need greater concurrency, you can create your own HttpClient and pass it to the constructor of class ClientFactory. (References and examples in galaxy-client-java, sds-android-examples): ClientFactory(Credential credential, HttpClient httpClient)

  • When compiling sds-android-examples, you must install Android SDK and set environment variable ANDROID_HOME to the install path of Android SDK before. Our examples used Android SDK API Level 19.

com.xiaomi.infra.galaxy

Xiaomi

Versions

Version
1.2.2