commit | 96cfc7392c27137ceff08c86dec29059614ce6b0 | [log] [tgz] |
---|---|---|
author | Steve Kondik <steve@cyngn.com> | Sun Mar 13 05:18:59 2016 -0700 |
committer | Steve Kondik <steve@cyngn.com> | Sun Mar 13 05:18:59 2016 -0700 |
tree | c1d1969f95a39af794829d83da682336ada13250 | |
parent | 5e2d5a685036ac8685bc9375addccd2bc40838a3 [diff] |
cmhw: Don't hold a static reference to the service * If getService fails for whatever reason, there is no chance to try again. Fix it. Change-Id: Ibabd73dfbff0b99e0b75fda96eadbde5e8685c74
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.