Additionally, paste this code immediately after the opening tag:

System Settings for Tasker

NOTE: Due to changes on Android 6, Explore Settings feature is not supported beyond Lollipop! Will try to work...

$ 1.00

Store review

NOTE: Due to changes on Android 6, Explore Settings feature is not supported beyond Lollipop! Will try to work around this. Sorry!

Give Tasker access to Android settings information.

This app does nothing on its own. Using this app when Tasker is not installed or disabled shows an error. You must also enable Tasker's Allow External Access setting. Fix the issue, re-start this app, and enable this app via its menu to proceed.

There are three, broad sets of Setting data and this app searches for information in the following order:

* System
* Secure
* Global (>= Android 4.2)

You must use the correct setting names with this app. For example, the setting known as BLUETOOTH_ON has a setting name of bluetooth_on.

There are so many features in Android that Tasker cannot hope to support them all. For example, Tasker 4.2u3 supported wifi but not ethernet. If your device has etherent and you want to to trigger or control Tasker with its status, too bad. But it turns out that the status of ethernet can be found in an Android setting called ethernet_on (may vary by device). This app can use this to get information about ethernet connectivity into Tasker.

So specifically, what can you do with this app? Several things now and perhaps more later on. Regardless, you must first set up Tasker to receive setting information from this app. Create a Tasker profile triggered by an Intent Received event and set its Action to: com.whitedavidp.systemsettingsfortasker.SETTING_UPDATE.

When this event occurs, tasks in the profile are able to access the setting's nickname and current value in local variables %nick_name and %current_value.

With Tasker ready to receive intents, get the current value of a setting sent to Tasker. Get Tasker the current value of Android's ethernet_on setting using the nickname ethernet with a Send Intent action. Populate its details:

* Set Action to com.whitedavidp.systemsettingsfortasker.GET_SETTING.
* Set one Extra to settingName:ethernet_on (case is important).
* Set one Extra to nickName:ethernet (case is important).

If all goes well, this app will send a SETTING_UPDATE intent to Tasker containing the requested information and this will trigger the profile set up above. Tasker's Send Intent does not wait for this app to complete the requested action, so your task definition may need to perform a short wait while the data is transmitted before proceding.

GET_SETTING only retrieves the value of the ethernet_on setting at the time it is executed. What if you want to get notified when the value changes? Start this app and choose Add from the menu. Complete the dialog with ethernet_on and ethernet, press Ok, and an item is added to the list. This starts monitoring and sending intents to Tasker as the setting changes until you tell it to stop. Stop monitoring with a long-press the list entry. Monitoring is restored on reboot automatically for all items in the list.

You can also start from Tasker using Send Intent. All is identical to GET_SETTING except the action's suffix is MONITOR_SETTING. This will NOT result in the immediate sending of an intent. The intent will be sent the next time the underlying setting value changes.

You can also stop from Tasker using Send Intent. All is identical to GET_SETTING except the action's suffix is STOP_MONITORING and the nickname is not used.

All of this begs the question of how to find out the name of a setting in the first place. This is really the hard part of the whole process and can be especially challenging if what you are looking for is not standard in Android. It takes a little research and sometimes some guess work. If rooted, see a list of all known settings on your device and their current values, choose Explore Settings from the menu. The items are grouped by category: System (shown in blue), Secure (shown in red), and Global (shown in green) and sorted by name.

Please use the developer's email link on this page.

Store rating

4

out of

32 reviews

Size

366.0 KB

Last update

Nov. 23, 2015

Read more