Reputation: 18825
I'm trying to turn the Power Saving Mode feature on and off on a Samsung phone. I believe this shouldn't require root access as NFC Task Launcher can already do this, so I believe it's most likely just an intent that is being called to toggle the setting on and off.
Is there like a resource somewhere which displays a list of available intents to control Samsung specific system functionalities?
If not, is it actually possible to work out what the intent is?
EDIT - just thought of something, does the operating system have a manifest file? If so, is this possible to access? Shouldn't it have a list of intents in there right?
Upvotes: 2
Views: 1368
Reputation: 10368
Yes there is a system manifest.xml file. Try to pull out it from /system/framework/framework-res.apk and use apktool to extract the apk file.
Here is a sample from Google Standard JB https://android.googlesource.com/platform/frameworks/base/+/android-cts-4.2_r2/core/res/AndroidManifest.xml
Upvotes: 2