commit | a335ba39c2304fc2ac971322cf8118a235769b85 | [log] [tgz] |
---|---|---|
author | Adnan Begovic <adnan@cyngn.com> | Mon Mar 14 08:13:57 2016 -0700 |
committer | Adnan Begovic <adnan@cyngn.com> | Tue Mar 15 14:09:04 2016 -0700 |
tree | 85db8196a1dfb645591f32a0b3f2b22fd97a9b1d | |
parent | 19b267dfff29400de5909fad62c0e962b821b804 [diff] |
cmsdk: Mandate cmhw feature xml's for service implementation. The features xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: I41f4ac60af076743909c6090fd50c3ad045bc9e1
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within CyanogenMod. The SDK exposes APIs and system level framework access in the Android framework that aren't available in any other distribution.
You can either download from prebuilts hosted on github or pull directly via Gradle.
Our stable releases are mirrored in Maven Central, and you can fetch the current release by setting your build.gradle
dependencies to
dependencies { compile 'org.cyanogenmod:platform.sdk:4.+' }
Within build.gradle
make sure your repositories
list sonatype OSS repos for snapshots
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
You can target the future
or development
branch by setting your dependencies
for 5.0-SNAPSHOT
dependencies { compile 'org.cyanogenmod:platform.sdk:5.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.