user1806772 user1806772 - 1 year ago 105
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?

Answer Source

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.+'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download