Name : AndroidVolume, Version : 1.0
All the blocks
Demo Blocks :
### Stream Types (int)
1 = VOICE_CALL
2 = SYSTEM
3 = RING
4 = MUSIC
5 = ALARM
6 = NOTIFICATION
7 = DTMF
### Flags (int)
1 = ALLOW_RINGER_MODES
2 = PLAY_SOUND
3 = REMOVE_SOUND_AND_VIBRATE
4 = VIBRATE
Download AIX :
com.aemo.androidvolume.aix (669.5 KB)
Download AIA :
Volume.aia (670.5 KB)
If you like my work, please support me
13 Likes
Balajidev
(Balaji Dev)
May 3, 2022, 2:40pm
#4
Nice extension. Does it needs any type of runtime permission?
1 Like
Balajidev
(Balaji Dev)
May 3, 2022, 7:44pm
#6
Just use this AndroidUtilCode/VolumeUtils.java at master · Blankj/AndroidUtilCode · GitHub
and it compress your whole extension size. Why did you use whole library which is useless for these volume functions only…
1 Like
I noticed this recently and am working on rebuilding the extension
1 Like
thank you for your contribution…
remember to follow the naming conventions…
you might want to fix it before publishing the new version…
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Example
[naming]
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first l…
Taifun
2 Likes
New Update
change package name of extension, if you use old version you need to remove it first
reduce size of extension from 670.5 KB
to 25.0 KB
thanks for @Balajidev
follow naming conventions for extension thanks for @Taifun
rename some blocks
NOTE
### Stream Types (int)
- STREAM_VOICE_CALL = 0
- STREAM_SYSTEM = 1 (DEFAULT)
- STREAM_RING = 2
- STREAM_MUSIC = 3
- STREAM_ALARM = 4
- STREAM_NOTIFICATION = 5
- STREAM_DTMF = 8
- STREAM_ACCESSIBILITY = 10
### Flags (int)
- FLAG_SHOW_UI = 1 (DEFAULT)
- FLAG_ALLOW_RINGER_MODES = 2
- FLAG_PLAY_SOUND = 4
- FLAG_REMOVE_SOUND_AND_VIBRATE = 8
- FLAG_VIBRATE = 16
Blocks:
Download AIX :
me.aemo.androidvolume.aix (25.0 KB)
2 Likes
Taifun
February 11, 2025, 12:46am
#11
welcome!
Marco_Mello:
didn’t work
nominated for the best bug report of the day (sarcasm)
what about providing some details?
Android device/Android version etc everything whhich coud help the author of the extension to do something… your report up to now is useless
Taifun