oceanbrasil/ocean-services-accessory-sdk


Accessory SDK allows you to connect accessory devices to Samsung smart devices. With Accessory SDK, you can define a new service between the accessory and smart device, enabling you to use the various smart device functions from the accessory device. http://developer.samsung.com/galaxy/accessory

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.oceanbrasil:samsung-services-accessory-sdk:2.5.1'
	}
	dependencies {
		implementation("com.github.oceanbrasil:samsung-services-accessory-sdk:2.5.1")
	}
	<dependency>
	    <groupId>com.github.oceanbrasil</groupId>
	    <artifactId>samsung-services-accessory-sdk</artifactId>
	    <version>2.5.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.oceanbrasil" % "samsung-services-accessory-sdk" % "2.5.1"
        
        

                            
    :dependencies [[com.github.oceanbrasil/samsung-services-accessory-sdk "2.5.1"]]
        
        

Readme


Accessory SDK

Latest Stable Version

Note: Samsung Accessory SDK 2.3.0 (and above) is required for devices on Android 6.0 (Marshmallow).

Accessory SDK allows you to connect accessory devices to Samsung smart devices. With Accessory SDK, you can define a new service between the accessory and smart device, enabling you to use the various smart device functions from the accessory device. The service is compatible with various connectivity environments, which makes accessory development efficient and convenient.

Accessory SDK adds new functions to the service as Samsung smart devices improve. Future updates will enable the accessory and the smart device to exchange more information and support more interworking.

Diagrma

Download

Add into gradle project level

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Add into app project level

dependecies{
    compile 'com.github.oceanbrasil:ocean-services-accesory-sdk:2.5.1'
}

LICENSE

Copyright © 2010 - 2017 SAMSUNG All rights reserved.

Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.