commit | 7db76d6a5d5cc93840c6d91d0c277d2b86b1038a | [log] [tgz] |
---|---|---|
author | Steve Kondik <steve@cyngn.com> | Fri Sep 09 03:12:04 2016 -0700 |
committer | Steve Kondik <steve@cyngn.com> | Tue Sep 13 10:27:01 2016 -0700 |
tree | 95c3866d5f1d24a60aa378b68ffd8ab14dc082cd | |
parent | 683c67fdd456042828b86a80ae67178ef12069b0 [diff] |
cmsdk: Add CMParts API * Add a Preference subclass which queries CMParts and handles all the work needed to add a new part into Settings with a single line of XML. * The parts list lives in the CMParts app as res/xml/parts_catalog.xml * We also support receiving a broadcast to update the title/summary. Change-Id: Iaceddc85272718ba93e4086cc2577c3b016419e2
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:5.+' }
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 6.0-SNAPSHOT
dependencies { compile 'org.cyanogenmod:platform.sdk:6.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.