11119
(Valery)
April 28, 2024, 8:08pm
#1
I am sharing a small extension where the main functions are in different extensions, but for myself (my application) I have collected the most common ones) in order not to use a large number of different extensions, perhaps some of them may be useful to you
Util1.aix (8.1 KB)
7 Likes
Taifun
April 28, 2024, 10:20pm
#2
thank you for your contribution
please follow the naming conventions
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…
and adjust the methods accordingly
btw. enable bluetooth and disable bluetooth has been deprecated in SDK33 and therefore will not work anymore
Taifun
1 Like
11119
(Valery)
April 29, 2024, 5:40am
#3
corrected the function names. Thank you. I can’t check about SDK 33. I don’t have that. and my emulator doesn’t have Bluetooth.
2 Likes
11119
(Valery)
May 20, 2024, 9:47pm
#4
version 2
new blocks:
Util1_v2.aix (10.2 KB)
2 Likes
11119
(Valery)
June 4, 2024, 8:26pm
#6
version 3 :
Util1_v3.java (10.0 KB)
new blocks:
1 Like
Taifun
June 5, 2024, 12:04am
#7
thank you for your contribution
usually you would use a helper block for the direction…
see also Adding Helper Blocks to a Component and How to add a Dropdown Block to a Component
Taifun
11119
(Valery)
June 5, 2024, 4:18am
#9
Thank you. I get what you mean. I tried to implement, but ran into some problems importing components.common.OptionList in order not to waste time, I redid it easier to choose from blocks