SoundManager : Helps to manage the sound of the device

ꜱᴏᴜɴᴅᴍᴀɴᴀɢᴇʀ


An extension that helps you to manage the device audio.

  • Control the music level
  • Get the current audio mode




ʙʟᴏᴄᴋꜱ & ᴘʀᴏᴘᴇʀᴛɪᴇꜱ


component_method

Raises the device volume by 1

component_method (1)

Lowers the device volume by 1

component_method (2)

Mutes the phone volume

component_method (3)

If the phone is muted it gets un-muted & vice-versa


component_set_get

Gets the current mode of the phone. 1 equals normal, 2 equals ring-tone, 
3 equals in-call



ᴄʀᴇᴅɪᴛꜱ

  • @ADDYLIN for beta testing. :grinning:


ᴅᴏᴡɴʟᴏᴀᴅꜱ

com.extension.Sound.xoma.aix (8.2 KB)


Hope you liked my new extension!
Any suggestions are appreciated :grinning:

16 Likes

nice extension :wink:

1 Like

Wow, congratulation @Kumaraswamy :partying_face:

1 Like

Nice extension but please check your spelling, it should be Toggle and not 'Toogle"

3 Likes

What does it fix?

When made apk and run in phone returns this message-
"Runtime Error
Bad direction 100"
??

1 Like

How are you using the extension Please post the blocks here. But no one has reported that error before...?

1 Like

blocks blocks (1)

1 Like

are these all your blocks?
it might be another problem?
when exactly does that error occur?
after clicking Button1?

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

I want to make an app which will take phone into silent mode in a particular time schedule. For this reason I tried that extension(sound manager1) as a test. But when I click the Button1 to mute the phone then it shows error message. Dose the extension consider specific api level? Reply please.

1 Like

Which API is you're android phone of?

1 Like

Android phone API 22

1 Like

I have found that it requires API level 23 to work. :sweat_smile: You can try on another phone, it will work :slightly_smiling_face:

1 Like

Thank you very much. :slightly_smiling_face:

1 Like

you then might want to add in the extenson androidMinSdk = 23 and rebuild it...

Taifun

1 Like

Designer component annotation?

Version 1.1

  • Internal changes done as suggested by @Taifun

Download extension:

com.extension.Sound.xoma.aix (8.2 KB)

2 Likes

Thanks, above of API level 22 it works fine.

1 Like

Nice extension :slight_smile: keep it up!!

1 Like

Good extension very helpfull...
Could you try to add componenent to show UI in order to visualize volume changes ?