user1806772 user1806772 - 3 months ago 47
Android Question

Android, Eclipse & CM10.1 Profile Manager

I want to switch cm profile manager profiles from within my app.

I found that i need to get the service from ProfileManager, so after digging in cm10 sources i figured


will do the deal, but how do i have to import this in eclipse?

Do I have to download and include full cm10 sources?


Just in case someone is still trying to find a way to control CM Profiles:

CM introduced it's platform SDK, which allows you to do just that.

It's also on maven central

dependencies {
    compile 'org.cyanogenmod:platform.sdk:4.+'