Tuesday, June 2, 2020

[PROFILE] Listen For Volume Changes Dynamically v1.0

DESCRIPTION
With this profile you can listen for volume changes on every channel, retrieving: current audio channel, last value changed and also the previous (old) value before it got changed. And with a single profile.

As the profile is right now, it only shows the above mentioned data, so its usefulness will be reduced to that. But it may be useful to you in a future project or profile where you need to identify the audio source or the previous level when it has changed.

Notes:
- I don't know why the intent is sent more than once when changes are detected (not documented, or I couldn't find the reason), so a delay of 20ms (optional) is included at the top of the actions within the linked task.
- The intent is categorized as @hide (not officially documented) and has three extras "officialy" reported: EXTRA_VOLUME_STREAM_TYPE, EXTRA_VOLUME_STREAM_VALUE and EXTRA_PREV_STREAM_VOLUME. But it is sent with an additional extra for me: EXTRA_VOLUME_STREAM_TYPE_ALIAS. So, you can the use my Intent Broadcast Monitor project to check what extras are sent for you actually, if needed.

CREDITS
@SmartPhoneLover

DOWNLOAD
Profile (XML)
Profile (TaskerNet)

DOWNLOAD (Ads Supported)
Profile (XML)
Profile (TaskerNet)

Related Articles:

  • [PROFILE] BT & Charger Log Report v1.0DESCRIPTION These profiles will allow you to keep track of the time (and date) of connection/disconnection of any Bluetooth device that has been connected, in addition to keeping track of battery charge. This project include… Read More
  • [TASK] Check Mobile Data Status v1.1DESCRIPTION You can check the status of the mobile data with this task: ON or OFF. Notes: - If the name of the Custom Setting (also table) is different, customize it using the one for your device. CREDITS @SmartPhoneLover … Read More
  • [PROFILE] Say Who Is Calling You v1.0DESCRIPTION Say who calls you. Available versions: • Version (A): Says the contact (name) if registered, and the phrase 'unregistered number' if not in your contacts. • Version (B): Says the contact (name) if registered, and… Read More
  • [PROFILE] Battery Design Capacity Checker v1.0DESCRIPTION If you don't know the capacity of your battery, this profile will tell you that. The total detected capacity will be shown in a notification (statusbar) when the phone gets fully charged. Notes: - The profile is … Read More
  • [PROFILE] Tasker Keyboard Issue Workaround (Android 10) v1.0DESCRIPTION As reported by other users, also me, Tasker is randomly and suddenly switching the input method establishing itself as the default system keyboard. So, until Joao (Tasker dev) applies some fix, this profile will … Read More

0 comments:

Post a Comment