/
YaVersion.java
1683 lines (1542 loc) · 74 KB
/
YaVersion.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2024 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.common;
/**
* Contains constants related to Young Android system, blocks, and component
* version numbers.
*
*/
public class YaVersion {
private YaVersion() {
}
// ............................ Young Android System Version Number .............................
// YOUNG_ANDROID_VERSION must be incremented when either the blocks language or a component
// changes.
// TODO(lizlooney) - should this version number be generated so that it is automatically
// incremented when the blocks language or a component changes?
// For YOUNG_ANDROID_VERSION 2:
// - The Logger component was removed. The Notifier component should be used instead.
// - TINYWEBDB_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 3:
// - BLOCKS_LANGUAGE_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 4:
// - The LegoNxtConnection component was added.
// For YOUNG_ANDROID_VERSION 5:
// - The Camera component was added.
// For YOUNG_ANDROID_VERSION 6:
// - FORM_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 7:
// - The Bluetooth component was added.
// For YOUNG_ANDROID_VERSION 8:
// - PLAYER_COMPONENT_VERSION was incremented to 2.
// - SOUND_COMPONENT_VERSION was incremented to 2.
// - VIDEOPLAYER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 9:
// - The LegoNxtConnection component was removed without backwards compatibility.
// - The LegoMindstormsNxtDirect component was added.
// - The LegoMindstormsNxtDrive component was added.
// - The Bluetooth component was removed without backwards compatibility.
// - The BluetoothClient component was added.
// - The BluetoothServer component was added.
// For YOUNG_ANDROID_VERSION 10:
// - ACTIVITYSTARTER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 11:
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 2.
// - BLUETOOTHSERVER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION_12:
// - TWITTER_COMPONENT_VERSION was incremented to 2.
// - The Twitter component was changed to support OAuth authentication.
// For YOUNG_ANDROID_VERSION 13:
// - The LegoMindstormsNxtTouchSensor component was added.
// - The LegoMindstormsNxtLightSensor component was added.
// - The LegoMindstormsNxtSoundSensor component was added.
// - The LegoMindstormsNxtUltrasonicSensor component was added.
// For YOUNG_ANDROID_VERSION 14:
// - LegoMindstormsNXT* components were renamed.
// For YOUNG_ANDROID_VERSION 15:
// - TEXTBOX_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 16:
// - FORM_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 17:
// - BLOCKS_LANGUAGE_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 18:
// - ACTIVITYSTARTER_COMPONENT_VERSION was incremented to 3.
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 3.
// - BLUETOOTHSERVER_COMPONENT_VERSION was incremented to 3.
// - FORM_COMPONENT_VERSION was incremented to 4.
// - PLAYER_COMPONENT_VERSION was incremented to 3.
// - SOUND_COMPONENT_VERSION was incremented to 3.
// - VIDEOPLAYER_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 19:
// - The NxtColorSensor component was added.
// For YOUNG_ANDROID_VERSION 20:
// - The SoundRecorder component was added.
// For YOUNG_ANDROID_VERSION 21:
// - BUTTON_COMPONENT_VERSION was incremented to 2.
// - CHECKBOX_COMPONENT_VERSION was incremented to 2.
// - CONTACTPICKER_COMPONENT_VERSION was incremented to 2.
// - EMAILPICKER_COMPONENT_VERSION was incremented to 2.
// - IMAGEPICKER_COMPONENT_VERSION was incremented to 2.
// - LABEL_COMPONENT_VERSION was incremented to 2.
// - LISTPICKER_COMPONENT_VERSION was incremented to 2.
// - PASSWORDTEXTBOX_COMPONENT_VERSION was incremented to 2.
// - PHONENUMBERPICKER_COMPONENT_VERSION was incremented to 2.
// - TEXTBOX_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 22:
// - BLOCKS_LANGUAGE_VERSION was incremented to 4.
// - CANVAS_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 23:
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 24:
// - BLOCKS_LANGUAGE_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 25:
// - BLOCKS_LANGUAGE_VERSION was incremented to 6.
// For YOUNG_ANDROID_VERSION 26:
// - In .scm files, values for asset, BluetoothClient, component, lego_nxt_sensor_port,
// and string properties no longer contain leading and trailing quotes.
// For YOUNG_ANDROID_VERSION 27:
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 4.
// - BLUETOOTHSERVER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 28:
// - BLOCKS_LANGUAGE_VERSION was incremented to 7.
// For YOUNG_ANDROID_VERSION 29:
// - BLOCKS_LANGUAGE_VERSION was incremented to 8.
// For YOUNG_ANDROID_VERSION 30:
// - BLOCKS_LANGUAGE_VERSION was incremented to 9.
// For YOUNG_ANDROID_VERSION 31:
// - BLOCKS_LANGUAGE_VERSION was incremented to 10.
// For YOUNG_ANDROID_VERSION 32:
// - LISTPICKER_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 33:
// - CANVAS_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 34:
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 3.
// - BALL_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 35:
// - FORM_COMPONENT_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 36:
// - FusiontablesControl component was added
// - BLOCKS_LANGUAGE_VERSION was incremented to 11 (CSV-related list functions)
// For YOUNG_ANDROID_VERSION 37:
// - CANVAS_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 38:
// - CONTACTPICKER_COMPONENT_VERSION was incremented to 3.
// - IMAGEPICKER_COMPONENT_VERSION was incremented to 3.
// - LISTPICKER_COMPONENT_VERSION was incremented to 4.
// - PHONENUMBERPICKER_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 39:
// - BLOCKS_LANGUAGE_VERSION was incremented to 12
// For YOUNG_ANDROID_VERSION 40:
// - BUTTON_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 41:
// - FORM_COMPONENT_VERSION was incremented to 6.
// - BLOCKS_LANGUAGE_VERSION was incremented to 13
// For YOUNG_ANDROID_VERSION 42:
// - The Web component was added.
// For YOUNG_ANDROID_VERSION 43:
// - BALL_COMPONENT_VERSION was incremented to 3.
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 44:
// - BLOCKS_LANGUAGE_VERSION was incremented to 14
// For YOUNG_ANDROID_VERSION 45:
// - ORIENTATIONSENSOR_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 46:
// - BLOCKS_LANGUAGE_VERSION was incremented to 15.
// For YOUNG_ANDROID_VERSION 47:
// - WebViewer component was added
// For YOUNG_ANDROID_VERSION 48:
// - WEB_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 49:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 50:
// - TEXTBOX_COMPONENT_VERSION was incremented to 4:
// For YOUNG_ANDROID_VERSION 51:
// - CANVAS_COMPONENT_VERSION was incremented to 5.
// - BLOCKS_LANGUAGE_VERSION was incremented to 16.
// For YOUNG_ANDROID_VERSION 52:
// - BLOCKS_LANGUAGE_VERSION was incremented to 17.
// For YOUNG_ANDROID_VERSION 53:
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 5.
// - BLUETOOTHSERVER_COMPONENT_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 54:
// - BUTTON_COMPONENT_VERSION was incremented to 4.
// - CONTACTPICKER_COMPONENT_VERSION was incremented to 4.
// - IMAGEPICKER_COMPONENT_VERSION was incremented to 4.
// - LISTPICKER_COMPONENT_VERSION was incremented to 5.
// - PHONENUMBERPICKER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 55:
// - ACCELEROMETERSENSOR_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 56
// - LOCATIONSENSOR_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 57:
// - PLAYER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 58:
// - FORM_COMPONENT_VERSION was incremented to 7.
// For YOUNG_ANDROID_VERION 59:
// - The Camcorder component was added.
// For YOUNG_ANDROID_VERSION 60:
// - VIDEOPLAYER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 61:
// - HORIZONTALARRANGEMENT_COMPONENT_VERSION was incremented to 2
// - VERTICALARRANGEMENT_COMPONENT_VERSION was incremented to 2
// - FORM_COMPONENT_VERSION was incremented to 8
// For YOUNG_ANDROID_VERSION 62:
// - BALL_COMPONENT_VERSION was incremented to 4.
// - CANVAS_COMPONENT_VERSION was incremented to 6.
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 63:
// - ACTIVITYSTARTER_COMPONENT_VERSION was incremented to 4.
// - FORM_COMPONENT_VERSION was incremented to 9.
// - LISTPICKER_COMPONENT_VERSION was incremented to 6.
// For YOUNG_ANDROID_VERSION 64:
// - FUSIONTABLESCONTROL_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 65:
// - BALL_COMPONENT_VERSION was incremented to 5.
// - CANVAS_COMPONENT_VERSION was incremented to 7.
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 6.
// For YOUNG_ANDROID_VERSION 66:
// - FORM_COMPONENT_VERSION was incremented to 10.
// For YOUNG_ANDROID_VERSION 67:
// - TEXTING_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 68:
// - Phone Status Block was added.
// For YOUNG_ANDROID_VERSION 69:
// - IMAGEPICKER_COMPONENT_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 70:
// - TEXTING_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 71:
// - NOTIFIER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 72:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 73:
// - BUTTON_COMPONENT_VERSION was incremented to 5.
// For YOUNG_ANDROID_VERSION 74:
// - SLIDER_COMPONENT_VERSION was incremented to 1.
// For YOUNG_ANDROID_VERSION 75:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 76:
// - PLAYER_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 77:
// - TWITTER_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 78:
// - NEARFIELD_COMPONENT_VERSION was incremented to 1
// For YOUNG_ANDROID_VERSION 79:
// - FORM_COMPONENT_VERSION was incremented to 11.
// For YOUNG_ANDROID_VERSION 80:
// - LISTPICKER_COMPONENT_VERSION was incremented to 7.
// For YOUNG_ANDROID_VERSION 81:
// - NOTIFIER_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 82:
// - ACCELEROMETERSENSOR_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 83:
// - LISTPICKER_COMPONENT_VERSION was incremented to 8.
// For YOUNG_ANDROID_VERSION 84:
// - FORM_COMPONENT_VERSION was incremented to 12.
// For YOUNG_ANDROID_VERSION 85:
// - CAMERA_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 86:
// - VIDEOPLAYER_COMPONENT_VERSION was incremented to 5.
// - The Sharing Component was added
// For YOUNG_ANDROID_VERSION 87:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 88:
// - SPINNER_COMPONENT_VERSION was incremented to 1
// For YOUNG_ANDROID_VERSION 89:
// - LISTVIEW_COMPONENT_VERSION was incremented to 1.
// For YOUNG_ANDROID_VERSION 90:
// - TEXTTOSPEECH_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 91:
// - DATEPICKER_COMPONENT_VERSION was incremented to 1.
// For YOUNG_ANDROID_VERSION 92:
// - TIMEPICKER_COMPONENT_VERSION was incremented to 1
// For YOUNG_ANDROID_VERSION 93:
// - FILE_COMPONENT_VERSION was incremented to 1.
// For YOUNG_ANDROID_VERSION 94:
// - YANDEX_COMPONENT_VERSION was incremented to 1.
// For YOUNG_ANDROID_VERSION 95:
// - BUTTON_COMPONENT_VERSION was incremented to 6.
// For YOUNG_ANDROID_VERSION 96:
// - TIMEPICKER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 97:
// - PLAYER_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 98:
// - PHONECALL_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 99:
// - CONTACTPICKER_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 100:
// - DATEPICKER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 101:
// - FORM_COMPONENT_VERSION was incremented to 13.
// For YOUNG_ANDROID_VERSION 102:
// - FUSIONTABLESCONTROL_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 103:
// - LISTVIEW_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 104:
// - TWITTER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 105:
// - WEB_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 106:
// - LISTVIEW_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 107:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 108:
// - New Obsfucate Text Block was added and BLOCKS_LANGUAGE_VERSION incremented to 18
// For YOUNG_ANDROID_VERION 109:
// - Added PROXIMITYSENSOR_COMPONENT_VERSION
// For YOUNG_ANDROID_VERSION 110:
// - LABEL_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 111:
// - BARCODESCANNER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 112:
// First test of new upgrading architecture: Dave Wolber's Canvas name changes
// For YOUNG_ANDROID_VERSION 113:
// Second test of new upgrading architecture: Evan Thomas's fillCircle argument for Canvas.DrawCircle
// - CANVAS_COMPONENT_VERSION was incremented to 9.
// For YOUNG_ANDROID_VERSION 114:
// - FORM_COMPONENT_VERSION was incremented to 14.
// For YOUNG_ANDROID_VERSION 115:
// - CANVAS_COMPONENT_VERSION was incremented to 10.
// For YOUNG_ANDROID_VERSION 116:
// - LISTPICKER_COMPONENT_VERSION was incremented to 9.
// For YOUNG_ANDROID_VERSION 117:
// - LISTVIEW_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 118:
// - SOUND_RECORDER_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 119:
// - TEXTBOX_COMPONENT_VERSION was incremented to 5
// - WEBVIEWER_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 120:
// - SLIDER_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 121:
// - NOTIFIER_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 122:
// - EMAILPICKER_COMPONENT_VERSION was incremented to 3
// - PASSWORDTEXTBOX_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 123:
// - TEXTTOSPEECH_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 124:
// - FORM_COMPONENT_VERSION was incremented to 15.
// For YOUNG_ANDROID_VERSION 125:
// - LISTVIEW_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 126:
// - ACTIVITYSTARTER_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 127:
// - FORM_COMPONENT_VERSION was incremented to 16.
// For YOUNG_ANDROID_VERSION 128:
// - BLOCKS_LANGUAGE_VERSION was incremented to 19
// For YOUNG_ANDROID_VERSION 129:
// - CLOCK_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 130:
// - TEXTTOSPEECH_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 131:
// - CONTACTPICKER_COMPONENT_VERSION was incremented to 6.
// For YOUNG_ANDROID_VERSION 132:
// - TEXTTOSPEECH_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 133:
// - FILE_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 134:
// - DATEPICKER_COMPONENT_VERSION was incremented to 3
// - TIMEPICKER_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 135:
// - ACTIVITYSTARTER_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 136:
// - FORM_COMPONENT_VERSION was incremented to 17.
// For YOUNG_ANDROID_VERSION 137:
// - FORM_COMPONENT_VERSION was incremented to 18.
// For YOUNG_ANDROID_VERSION 138:
// - MEDIASTORE_COMPONENT_VERSION was incremented to 1
// For YOUNG_ANDROID_VERSION 139:
// - Reserved for FIRST Tech Challenge.
// For YOUNG_ANDROID_VERSION 140:
// - HORIZONTALARRANGEMENT_COMPONENT_VERSION was incremented to 3.
// - VERTICALARRANGEMENT_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 141:
// - Reserved for FIRST Tech Challenge.
// For YOUNG_ANDROID_VERSION 142:
// - FORM_COMPONENT_VERSION was incremented to 19.
// For YOUNG_ANDROID_VERSION 143:
// - GyroscopeSensor component was added
// For YOUNG_ANDROID_VERSION 144:
// - Reserved for FIRST Tech Challenge.
// For YOUNG_ANDROID_VERSION 145:
// - Spelling of "obsfucate" was corrected to obfuscate and BLOCKS_LANGUAGE_VERSION incremented to 20
// For YOUNG_ANDROID_VERSION 146:
// - CAMERA_COMPONENT_VERSION was incremented to 3.
// For YOUNG_ANDROID_VERSION 147:
// - IMAGE_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 148:
// - FIREBASE_COMPONENT_VERSION was incremented to 1
// For YOUNG_ANDROID_VERSION 149:
// - CLOCK_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 150:
// - IMAGE_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 151:
// - LOCATIONSENSOR_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 152:
// - FIREBASE_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 153:
// - The components Ev3Motors, Ev3{Color,Gyro,Touch,Ultrasonic}
// Sensor Ev3UI, Ev3Commands were added for EV3 support
// For YOUNG_ANDROID_VERSION 154:
// - PEDOMETER_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 155:
// - Extensions Support (non-visible only) added
// For YOUNG_ANDROID_VERSION 156:
// - FIREBASE_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 157:
// - LABEL_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 158:
// Added HorizontalScrollArrangement and VerticalScrollArrangement
// For YOUNG_ANDROID_VERSION 159:
// - FORM_COMPONENT_VERSION was incremented to 20
// For YOUNG_ANDROID_VERSION 160:
// - FORM_COMPONENT_VERSION was incremented to 21
// For YOUNG_ANDROID_VERSION 161:
// - BLOCKS_LANGUAGE_VERSION was incremented to 21
// For YOUNG_ANDROID_VERSION 162:
// - ACCELEROMETERSENSOR_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 163:
// Added CloudDB
// For YOUNG_ANDROID_VERSION 164:
// - Added Map
// - Added Marker
// - Added FeatureCollection
// - Added Circle
// - Added LineString
// - Added Polygon
// - Added Rectangle
// For YOUNG_ANDROID_VERSION 165:
// - MAP_COMPONENT_VERSION was incremented to 2
// - MARKER_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 166:
// - MAP_COMPONENT_VERSION was incremented to 3
// - FEATURE_COLLECTION_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 167:
// - FORM_COMPONENT_VERSION was incremented to 23
// For YOUNG_ANDROID_VERSION 168:
// - BLOCKS_LANGUAGE_VERSION was incremented to 22
// For YOUNG_ANDROID_VERSION 169:
// - NOTIFIER_COMPONENT_VERSION was incremented to 5
// For YOUNG_ANDROID_VERSION 170:
// - MAP_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 171:
// - FUSIONTABLESCONTROL_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 172:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 7
// For YOUNG_ANDROID_VERSION 173:
// - FORM_COMPONENT_VERSION was incremented to 24
// For YOUNG_ANDROID_VERSION 174:
// - BLOCKS_LANGUAGE_VERSION was incremented to 23
// For YOUNG_ANDROID_VERSION 175:
// - MAP_COMPONENT_VERSION was incremented 5
// For YOUNG_ANDROID_VERSION 176:
// - PHONECALL_COMPONENT_VERSION was incremented to 3
// - TEXTING_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 177:
// - NOTIFIER_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 178:
// - CLOCK_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 179:
// - BLOCKS_LANGUAGE_VERSION was incremented to 24
// For YOUNG_ANDROID_VERSION 180:
// - VIDEOPLAYER_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 181:
// - BLOCKS_LANGUAGE_VERSION was incremented to 25
// For YOUNG_ANDROID_VERSION 182:
// - BLOCKS_LANGUAGE_VERSION was incremented to 26
// For YOUNG_ANDROID_VERSION 183:
// - CANVAS_COMPONENT_VERSION was incremented to 11
// For YOUNG_ANDROID_VERESION 184:
// - Added Switch
// For YOUNG_ANDROiD_VERSION 185:
// - SPEECHRECOGNIZER_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 186:
// - BLOCKS_LANGUAGE_VERSION was incremented to 27
// For YOUNG_ANDROID_VERSION 187:
// - BAROMETER_COMPONENT_VERSION was initialized to 1
// - HYGROMETER_COMPONENT_VERSION was initialized to 1
// - LIGHTSENSOR_COMPONENT_VERSION was initialized to 1
// - THERMOMETER_COMPONENT_VERSION was initialized to 1
// For YOUNG_ANDROID_VERSION 188:
// - Label component version incremented to 5
// For YOUNG_ANDROID_VERSION 189:
// - FORM_COMPONENT_VERSION was incremented to 25
// For YOUNG_ANDROID_VERSION 190:
// - WEB_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 191:
// - CANVAS_COMPONENT_VERSION was incremented to 12
// For YOUNG_ANDROID_VERSION 192:
// - BALL_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 193:
// - FORM_COMPONENT_VERSION was incremented to 26
// For YOUNG_ANDROID_VERSION 194:
// - CIRCLE_COMPONENT_VERSION was incremented to 2
// - LINESTRING_COMPONENT_VERSION was incremented to 2
// - MARKER_COMPONENT_VERSION was incremented to 3
// - POLYGON_COMPONENT_VERSION was incremented to 2
// - RECTANGLE_COMPONENT_VERSION was incremented to 2
// - TEXTBOX_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 195:
// - PEDOMETER_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 196:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 8
// For YOUNG_ANDROID_VERSION 197:
// - BLOCKS_LANGUAGE_VERSION was incremented to 28
// - WEB_COMPONENT_VERSION was incremented to 7
// For YOUNG_ANDROID_VERSION 198:
// - IMAGE_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 199:
// - BLOCKS_LANGUAGE_VERSION was incremented to 29
// For YOUNG_ANDROID_VERSION 200:
// - FORM_COMPONENT_VERSION was incremented to 27.
// For YOUNG_ANDROID_VERSION 201:
// - CANVAS_COMPONENT_VERSION was incremented to 13
// For YOUNG_ANDROID_VERSION 202:
// - BLOCKS_LANGUAGE_VERSION was incremented to 30
// For YOUNG_ANDROID_VERSION 203:
// - WEBVIEWER_COMPONENT_VERSION was incremented to 9
// For YOUNG_ANDROID_VERSION 204:
// - NAVIGATION_COMPONENT_VERSION was initialized to 1
// - SERIAL_COMPONENT_VERSION was initialized to 1
// For YOUNG_ANDROID_VERSION 205:
// - BLOCKS_LANGUAGE_VERSION was incremented to 31
// For YOUNG_ANDROID_VERSION 206:
// - YANDEX_COMPONENT_VERSION was incremented to 2.
// For YOUNG_ANDROID_VERSION 207:
// - BLOCKS_LANGUAGE_VERSION was incremented to 32
// For YOUNG_ANDROID_VERSION 208:
// - FILE_COMPONENT_VERSION was incremented to 3
// - BLOCKS_LANGUAGE_VERSION was incremented to 33
// For YOUNG_ANDROID_VERSION 209:
// - WEB_COMPONENT_VERSION was incremented to 8
// For YOUNG_ANDROID_VERSION 210:
// - BALL_COMPONENT_VERSION was incremented to 7
// - IMAGESPRITE_COMPONENT_VERSION was incremented to 7
// For YOUNG_ANDROID_VERSION 211:
// - CANVAS_COMPONENT_VERSION was incremented to 14
// - CLOUDDB_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 212 (helper blocks):
// - BLOCKS_LANGUAGE_VERSION incremented to 34
// - ACCELEROMETERSENSOR_COMPONENT_VERSION incremented to 5
// - BALL_COMPONENT_VERSION incremented to 8
// - BUTTON_COMPONENT_VERSION incremented to 7
// - CANVAS_COMPONENT_VERSION incremented to 15
// - DATEPICKER_COMPONENT_VERSION incremented to 4
// - FORM_COMPONENT_VERSION incremented to 28
// - HORIZONTALARRANGEMENT_COMPONENT_VERSION incremented to 4
// - HORIZONTALSCROLLARRANGEMENT_COMPONENT_VERSION incremented to 2
// - IMAGESPRITE_COMPONENT_VERSION incremented to 8
// - MAP_COMPONENT_VERSION incremented to 6
// - MARKER_COMPONENT_VERSION incremented to 4
// - NAVIGATION_COMPONENT_VERSION incremented to 2
// - NXT_DIRECT_COMMANDS_COMPONENT_VERSION incremented to 2
// - EV3_COLORSENSOR_COMPONENT_VERSION incremented to 2
// - EV3_GYROSENSOR_COMPONENT_VERSION incremented to 2
// - EV3_ULTRASONICSENSOR_COMPONENT_VERSION incremented to 2
// - SOUND_COMPONENT_VERSION incremented to 4
// - TEXTING_COMPONENT_VERSION incremented to 5
// - TIMEPICKER_COMPONENT_VERSION incremented to 4
// - VERTICALARRANGEMENT_COMPONENT_VERSION incremented to 4
// - VERTICALSCROLLARRANGEMENT_COMPONENT_VERSION incremented to 2
// - VIDEOPLAYER_COMPONENT_VERSION incremented to 7
// For YOUNG_ANDROID_VERSION 213 (ListView layouts)
// - LISTVIEW_COMPONENT_VERSION was incremented to 6
// For YOUNG_ANDROID_VERSION 214:
// - FILE_COMPONENT_VERSION was incremented to 4
// For YOUNG_ANDROID_VERSION 215:
// Added Translator
// For YOUNG_ANDROID_VERSION 216:
// YandexTranslate turned into Translator (and YandexTranslate
// itself stubbed out and placed in INTERNAL
// For YOUNG_ANDROID_VERION 217:
// - Added GOOGLESHEETS_COMPONENT_VERSION
// For YOUNG_ANDROID_VERION 218:
// - SPREADSHEET_COMPONENT_VERSION = 1
// - Renamed GoogleSheets to Spreadsheet
// For YOUNG_ANDROID_VERSION 219:
// - CHART_COMPONENT_VERSION was introduced
// - CHART_DATA_2D_COMPONENT_VERSION was introduced
// - DATA_FILE_COMPONENT_VERSION was introduced
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 7
// For YOUNG_ANDROID_VERSION 220:
// - CHART_COMPONENT_VERSION was incremented to 2
// - SPREADSHEET_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 221:
// - BLUETOOTHCLIENT_COMPONENT_VERSION was incremented to 8
// For YOUNG_ANDROID_VERSION 222:
// - CHATBOT_COMPONENT_VERSION was introduced
// For YOUNG_ANDROID_VERSION 223:
// - IMAGEBOT_COMPONENT_VERSION was introduced
// For YOUNG_ANDROID_VERSION 224:
// - ANOMALY_COMPONENT_VERSION was introduced
// - CHATBOT_COMPONENT_VERSION was incremented to 2
// - FILEPICKER_COMPONENT_VERSION was introduced
// - IMAGEBOT_COMPONENT_VERSION was incremented to 2
// - REGRESSION_COMPONENT_VERSION was introduced
// - TEXTTOSPEEECH_COMPONENT_VERSION was incremented to 6
// - TINYDB_COMPONENT_VERSION was incremented to 3
// For YOUNG_ANDROID_VERSION 225:
// - LISTVIEW_COMPONENT_VERSION was incremented to 7
// - WEB_COMPONENT_VERSION was incremented to 9
// For YOUNG_ANDROID_VERSION 226:
// - FORM_COMPONENT_VERSION was incremented to 31
// For YOUNG_ANDROID_VERSION 227:
// - EMAILPICKER_COMPONENT_VERSION was incremented to 7
// - TEXTBOX_COMPONENT_VERSION was incremented to 14
// - PASSWORD_TEXTBOX_VERSION was incremented to 7
// - CHART_COMPONENT_VERSION was incremented to 3
// - TRENDLINE_COMPONENT_VERSION was introduced
// For YOUNG_ANDROID_VERSION 228:
// - Renamed LineOfBestFit to Trendline
public static final int YOUNG_ANDROID_VERSION = 228;
// ............................... Blocks Language Version Number ...............................
// NOTE(lizlooney,user) - when the blocks language changes:
// 1. Increment YOUNG_ANDROID_VERSION above.
// 2. Increment BLOCKS_LANGUAGE_VERSION here
// 3. Add code in YoungAndroidFormUpgrader to upgrade the source file
// For BLOCKS_LANGUAGE_VERSION 2:
// - Allow arguments of different procedures and events to have the same names.
// For BLOCKS_LANGUAGE_VERSION 3:
// - Some String operations were added: text<, text=, text>, trim, upcase, downcase
// For BLOCKS_LANGUAGE_VERSION 4:
// Added: replace all, copy list, insert list item, for each in range
// For BLOCKS_LANGUAGE_VERSION 5:
// - The Math trigonometry functions' formal parameter names were changed, and two
// blocks (degrees-to-radians and radians-to-degrees) were added.
// For BLOCKS_LANGUAGE_VERSION 6:
// - Text blocks, comments, and complaints are encoded on save and decoded on load to
// preserve international characters.
// For BLOCKS_LANGUAGE_VERSION 7:
// - Corrupted character sequences in comments are replaced with * when .blk files are upgraded.
// For BLOCKS_LANGUAGE_VERSION 8:
// - Socket labels of some text blocks were changed.
// For BLOCKS_LANGUAGE_VERSION 9:
// - Socket labels for degrees-to-radians and radians-to-degrees were fixed.
// For BLOCKS_LANGUAGE_VERSION 10:
// - Added not-equal block. Add "as" descriptor to def block.
// For BLOCKS_LANGUAGE_VERSION 11:
// - CSV-related list functions were added (list to csv row, list to csv table,
// list from csv row, list from csv table)
// For BLOCKS_LANGUAGE_VERSION 12:
// - Changed multiply symbol from star to times; change subtract symbol from hyphen to minus
// For BLOCKS_LANGUAGE_VERSION 13:
// - Added open-screen and open-screen-with-start-text.
// For BLOCKS_LANGUAGE_VERSION 14:
// - Added generated blocks for component object methods and properties.
// For BLOCKS_LANGUAGE_VERSION 15:
// - Added "is text empty?" to Text drawer.
// For BLOCKS_LANGUAGE_VERSION 16:
// - Added make-color and split-color to Color drawer.
// For BLOCKS_LANGUAGE_VERSION 17:
// - Changed open-screen to open-another-screen
// - Changed open-screen-with-start-text to open-another-screen-with-start-value
// - Marked get-startup-text as a bad block
// - Added get-start-value
// - Added get-plain-start-text
// - Marked close-screen-with-result as a bad block
// - Added close-screen-with-value
// - Added close-screen-with-plain-text
// For BLOCKS_LANGUAGE_VERSION 18:
// - New Obsfucate Text Block was added
// For BLOCKS_LANGUAGE_VERSION 19:
// The is-number block was modified to include dropdowns for base10, hex, and binary
// The number-convert blocks was added
// For BLOCKS_LANGUAGE_VERSION 20:
// - Spelling of "Obsfucate" was corrected to Obfuscate in Text Block
// For BLOCKS_LANGUAGE_VERSION 21:
// - The is-text block was added.
// For BLOCKS_LANGUAGE_VERSION 22:
// - Break block was added.
// For BLOCKS_LANGUAGE_VERSION 23:
// - Bitwise and, ior, and xor blocks were added.
// For BLOCKS_LANGUAGE_VERSION 24:
// - List reverse block was added.
// For BLOCKS_LANGUAGE_VERSION 25:
// - List join with separator block was added.
// For BLOCKS_LANGUAGE_VERSION 26:
// - Generic event handlers were added.
// For BLOCKS_LANGUAGE_VERSION 27:
// - The text compare block was modified to include the not-equal operator
// For BLOCKS_LANGUAGE_VERSION 28
// - The dictionaries blocks were added.
// For BLOCKS_LANGUAGE_VERSION 29
// - The for-each-in-dictionary block was added.
// For BLOCKS_LANGUAGE_VERSION 30:
// - The Reverse Text block was added
// For BLOCKS_LANGUAGE_VERSION 31
// - The replace-all-mappings block was added.
// For BLOCKS_LANGUAGE_VERSION 32
// - The and/or blocks gained mutators.
// For BLOCKS_LANGUAGE_VERSION 33
// - Added "contains any" and "contains all" options to the text contains block.
// For BLOCKS_LANGUAGE_VERSION 34
// - The helpers_screen_names block was added.
// - Add sanitizing concrete values to OptionLists.
// For BLOCKS_LANGUAGE_VERSION 35
// - Add PHOLO blocks
// For BLOCKS_LANGUAGE_VERSION 36
// - Add stats blocks
// - Rename lists_*_number to lists_*_value
// - Added "every component" block.
public static final int BLOCKS_LANGUAGE_VERSION = 36;
// ................................. Target SDK Version Number ..................................
public static final int TARGET_SDK_VERSION = 33;
public static final String TARGET_ANDROID_VERSION = "Android 13.0";
// ................................. Component Version Numbers ..................................
// NOTE(lizlooney,user) - when a new component is added:
// 1. Increment YOUNG_ANDROID_VERSION above.
// 2. Add the version number for the new component below
// 3. Add documentation to the appropriate html file in docs/reference/components.
// NOTE(lizlooney,user) - when a component changes:
// 1. Increment YOUNG_ANDROID_VERSION above.
// 2. Increment the version number for that component below
// 3. Add code in com.google.appinventor.client.youngandroid.YoungAndroidFormUpgrader#
// upgradeComponentProperties to upgrade the .scm file contents
// 4. For AI2, update the table in blocklyeditor/src/versioning.js
// 5. Update documentation in the appropriate html file in docs/reference/components.
// Note added after internationalization (8/25/2014)
// If you add any properties, events or methods to a component you *must*:
// Add an entry for each new property/event/method into
// OdeMessages.java iff a property with that name doesn't already
// exist (so if you are adding a property that has the same name as
// another property in a different component, you don't do it a
// second time). To add the "Foo" property you would add:
// @defaultMessage("Foo")
// @description("")
// String FooProperties();
// If you edit the description of a component (but not yet a
// property,method or event of that component) you must also find and
// update the description in OdeMessages.java
//For ACCELEROMETERSENSOR_COMPONENT_VERSION 2:
// - AccelerometerSensor.MinimumInterval property was added.
// - AccelerometerSensor.AccelerationChanged method was modified to wait for
// the minimum interval to elapse before calling a shaking event when necessary.
//For ACCELEROMETERSENSOR_COMPONENT_VERSION 3:
// - AccelerometerSensor.Sensitivty property was added.
//For ACCELEROMETERSENSOR_COMPONENT_VERSION 4:
// - Added the LegacyMode property.
// For ACCELEROMERTERSENSOR_COMPONENT_VERSION 5:
// - Adds Sensitivity dropdown block.
public static final int ACCELEROMETERSENSOR_COMPONENT_VERSION = 5;
// For ACTIVITYSTARTER_COMPONENT_VERSION 2:
// - The ActivityStarter.DataType, ActivityStarter.ResultType, and ActivityStarter.ResultUri
// properties were added.
// - The ActivityStarter.ResolveActivity method was added.
// - The ActivityStarter.ActivityError event was added.
// For ACTIVITYSTARTER_COMPONENT_VERSION 3:
// - The ActivityStarter.ActivityError event was marked userVisible false and is no longer used.
// For ACTIVITYSTARTER_COMPONENT_VERSION 4:
// - The ActivityStarter.StartActivity was edited to use the parent Form's open screen
// animation to transition to next activity.
// For ACTIVITYSTARTER_COMPONENT_VERSION 5:
// - The ActivityStarter.ActivityCanceled event was added.
// For ACTIVITYSTARTER_COMPONENT_VERSION 6:
// - Extras property was added to accept a list of key-value pairs to put to the intent
public static final int ACTIVITYSTARTER_COMPONENT_VERSION = 6;
// For ANOMALY_COMPONENT_VERSION 2:
// - The DetectAnomaliesInChartData method was added.
public static final int ANOMALY_COMPONENT_VERSION = 2;
// For BALL_COMPONENT_VERSION 2:
// - The PointTowards method was added (for all sprites)
// - The heading property was changed from int to double (for all sprites)
// For BALL_COMPONENT_VERSION 3:
// - The Z property was added (also for ImageSprite)
// For BALL_COMPONENT_VERSION 4:
// - The TouchUp, TouchDown, and Flung events were added. (for all sprites)
// For BALL_COMPONENT_VERSION 5:
// - Callback parameters speed and heading were added to Flung. (for all sprites)
// For BALL_COMPONENT_VERSION 6:
// - The CenterAtOrigin property was added
// For BALL_COMPONENT_VERSION 7:
// - The MoveToPoint method was added (for all sprites)
// For Ball_COMPONENT_VERSION 8:
// - Adds dropdown blocks for Direction.
public static final int BALL_COMPONENT_VERSION = 8;
// For BARCODESCANNER_COMPONENT_VERSION 2:
// -- UseExternalScanner property was added (default true)
public static final int BARCODESCANNER_COMPONENT_VERSION = 2;
// For BLUETOOTHCLIENT_COMPONENT_VERSION 2:
// - The BluetoothClient.Enabled property was added.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 3:
// - The BluetoothClient.BluetoothError event was marked userVisible false and is no longer used.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 4:
// - The BluetoothClient.DelimiterByte property was added.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 5:
// - The BluetoothClient.Secure property was added.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 6:
// - The BluetoothClient.DisconnectOnError property was added.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 7:
// - The BluetoothClient.PollingRate property was added.
// For BLUETOOTHCLIENT_COMPONENT_VERSION 8:
// - The BluetoothClient.NoLocationNeeded property was added.
public static final int BLUETOOTHCLIENT_COMPONENT_VERSION = 8;
// For BLUETOOTHSERVER_COMPONENT_VERSION 2:
// - The BluetoothServer.Enabled property was added.
// For BLUETOOTHSERVER_COMPONENT_VERSION 3:
// - The BluetoothServer.BluetoothError event was marked userVisible false and is no longer used.
// For BLUETOOTHSERVER_COMPONENT_VERSION 4:
// - The BluetoothServer.DelimiterByte property was added.
// For BLUETOOTHSERVER_COMPONENT_VERSION 5:
// - The BluetoothServer.Secure property was added.
public static final int BLUETOOTHSERVER_COMPONENT_VERSION = 5;
// For BUTTON_COMPONENT_VERSION 2:
// - The Alignment property was renamed to TextAlignment.
// For BUTTON_COMPONENT_VERSION 3:
// - The LongClick event was added.
// For BUTTON_COMPONENT_VERSION 4:
// - The Shape property was added.
// For BUTTON_COMPONENT_VERSION 5:
// - The ShowFeedback property was added.
// For BUTTON_COMPONENT_VERSION 6:
// - Added TouchUp and TouchDown events
// - FontSize, FontBold, FontItalic properties made visible in block editor
// For BUTTON_COMPONENT_VERSION 7:
// - Assets helper block was added.
public static final int BUTTON_COMPONENT_VERSION = 7;
public static final int CAMCORDER_COMPONENT_VERSION = 1;
// For CAMERA_COMPONENT_VERSION 2:
// - The UseFront property was added.
// For CAMERA_COMPONENT_VERSION 3:
// - The UseFront property was removed :-( .
public static final int CAMERA_COMPONENT_VERSION = 3;
// For CANVAS_COMPONENT_VERSION 2:
// - The LineWidth property was added.
// For CANVAS_COMPONENT_VERSION 3:
// - The FontSize property was added.
// - The TextAlignment property was added.
// - The DrawText method was added.
// - The DrawTextAtAngle method was added.
// For CANVAS_COMPONENT_VERSION 4:
// - Added Save and SaveAs methods
// For CANVAS_COMPONENT_VERSION 5:
// - Added GetBackgroundPixelColor, GetPixelColor, and SetBackgroundPixelColor methods.
// For CANVAS_COMPONENT_VERSION 6:
// - Added TouchDown, TouchUp, and Flung events.
// For CANVAS_COMPONENT_VERSION 7:
// - Callback parameters speed and heading were added to Flung. (for all sprites)
// For CANVAS_COMPONENT_VERSION 8:
// Dave Wolber's Canvas name changes:
// - DrawCircle parameter names changed to centerx,centery, radius
// - Touched parameter touchedSprite name changed to touchedAnySprite
// - Dragged parameter draggedSprite name changed to draggedAnySprite
// For CANVAS_COMPONENT_VERSION 9:
// - DrawCircle has new fourth parameter (for isFilled), due to Evan Thomas
// For CANVAS_COMPONENT_VERSION 10:
// - The default value of the TextAlignment property was changed to Component.ALIGNMENT_CENTER
// For CANVAS_COMPONENT_VERSION 11:
// - DrawShape & DrawArc was added
// For CANVAS_COMPONENT_VERSION 12
// - ExtendMovesOutsideCanvas was added
// For CANVAS_COMPONENT_VERSION 13
// - BackgroundImageinBase64 was added
// For CANVAS_PROPERTY_VERSION 14
// -TAP_THRESHOLD was changed from being constant to user settable
// -TAP_THRESHOLD renamed to tapThreshold
// -TapThreshold was added
// For CANVAS_COMPONENT_VERSION 15
// - Assets helper block was added.
public static final int CANVAS_COMPONENT_VERSION = 15;
// For CHART_COMPONENT_VERSION 2:
// - The XFromZero and YFromZero properties were added
// - The SetDomain and SetRange methods were added
// For CHART_COMPONENT_VERSION 3:
// - The ExtendDomainToInclude and ExtendRangeToInclude methods were added
// - The Type getter block was made visible
public static final int CHART_COMPONENT_VERSION = 3;
public static final int CHART_DATA_2D_COMPONENT_VERSION = 1;
// For CHATBOT_COMPONENT_VERSION: Initial Version
// For CHATBOT_COMPONENT_VERSION 2:
// - The ApiKey property was made visible in the designer view
public static final int CHATBOT_COMPONENT_VERSION = 2;
// For CHECKBOX_COMPONENT_VERSION 2:
// - The Value property was renamed to Checked.
public static final int CHECKBOX_COMPONENT_VERSION = 2;
// For CIRCLE_COMPONENT_VERSION 1:
// - Initial implementation of Circle for Maps
// For CIRCLE_COMPONENT_VERSION 2:
// - Added fill and stroke opacity properties
public static final int CIRCLE_COMPONENT_VERSION = 2;
// For CLOCK_COMPONENT_VERSION 2:
// - The pattern parameter was added to the FormatDate and FormatDateTime.
// - Add Duration Support
// For CLOCK_COMPONENT_VERSION 3:
// - Duration Support was added
// For CLOCK_COMPONENT_VERSION 4:
// - MakeTime, MakeDate, MakeInstantFromParts methods were added
public static final int CLOCK_COMPONENT_VERSION = 4;
// For CONTACTPICKER_COMPONENT_VERSION 2:
// - The Alignment property was renamed to TextAlignment.
// For CONTACTPICKER_COMPONENT_VERSION 3:
// - The method Open was added.
// For CONTACTPICKER_COMPONENT_VERSION 4:
// - The Shape property was added.
// For CONTACTPICKER_COMPONENT_VERSION 5:
// - Added PhoneNumber, PhoneNumberList, and EmailAddressList to ContactPicker.
// - For Eclair and up, we now use ContactsContract instead of the deprecated Contacts.
// For CONTACTPICKER_COMPONENT_VERSION 6:
// - The ContactUri property was added
public static final int CONTACTPICKER_COMPONENT_VERSION = 6;
public static final int DATA_FILE_COMPONENT_VERSION = 1;
// For DATEPICKER_COMPONENT_VERSION 2:
// The datepicker dialog was updated to show the current date
// instead of the last set date by default.
// The SetDateToDisplay and LaunchPicker methods were added to
// give the user more control of what time is displayed in the
// datepicker dialog.
// For DATEPICKER_COMPONENT_VERSION 3:
// - SetDateToDisplayFromInstant, and Instant property are added.
// For DATEPICKER_COMPONENT_VERSION 3:
// - Assets helper block was added.
public static final int DATEPICKER_COMPONENT_VERSION = 4;
// For EMAILPICKER_COMPONENT_VERSION 2:
// - The Alignment property was renamed to TextAlignment.
// For EMAILPICKER_COMPONENT_VERSION 3:
// - RequestFocus function was added (via TextBoxBase)
// For EMAILPICKER_COMPONENT_VERSION 7:
// - Bumped up to be strictly greater than Kodular's EmailPicker (6).
// - TextChanged event, HintColor property, MoveCursorTo, MoveCursorToEnd and MoveCursorToStart methods were added.
public static final int EMAILPICKER_COMPONENT_VERSION = 7;
// For FEATURE_COLLECTION_COMPONENT_VERSION 1:
// - Initial FeatureCollection implementation for Maps
// For FEATURE_COLLECTION_COMPONENT_VERSION 2:
// - GeoJSONError event was renamed to LoadError
// - GotGeoJSON event was renamed to GotFeatures
// - ErrorLoadingFeatureCollection event was removed
// - LoadedFeatureCollection event was removed
public static final int FEATURE_COLLECTION_COMPONENT_VERSION = 2;
// For FILE_COMPONENT_VERSION 2:
// - The AfterFileSaved event was added.
// For FILE_COMPONENT_VERSION 3:
// - The LegacyMode property was added.
// For FILE_COMPONENT_VERSION 4:
// - The DefaultScope property was added.
// - The ReadPermission property was added.
// - The WritePermission property was added.
// - The LegacyMode property was removed. Use DefaultScope instead.
public static final int FILE_COMPONENT_VERSION = 4;
public static final int FILEPICKER_COMPONENT_VERSION = 1;
// For FORM_COMPONENT_VERSION 2:
// - The Screen.Scrollable property was added.
// For FORM_COMPONENT_VERSION 3:
// - The Screen.Icon property was added.
// For FORM_COMPONENT_VERSION 4:
// - The Screen.ErrorOccurred event was added.
// For FORM_COMPONENT_VERSION 5:
// - The Screen.ScreenOrientation property and Screen.ScreenOrientationChanged event were added.
// For FORM_COMPONENT_VERSION 6:
// - The SwitchForm and SwitchFormWithArgs methods were removed and the OtherScreenClosed event
// was added.
// For FORM_COMPONENT_VERSION 7:
// - The VersionCode and VersionName properties were added.
// For FROM_COMPONENT_VERSION 8:
// - The AlignHorizontal property was added
// - The AlignVertical property was added
// For FORM_COMPONENT_VERSION 9:
// - The OpenScreenAnimation property was added
// - The CloseScreenAnimation property was added
// For FORM_COMPONENT_VERSION 10:
// - The BackPressed event was added.
// For FORM_COMPONENT_VERSION 11:
// - OpenScreenAnimation and CloseScreenAnimation are now properties.
// For FORM_COMPONENT_VERSION 12:
// - AboutScreen property was added
// For FORM_COMPONENT_VERSION 13:
// - The Screen.Scrollable property was set to False by default
// For FORM_COMPONENT_VERSION 14:
// - The Screen1.AppName was added and no block need to be changed.
// For FORM_COMPONENT_VERSION 15:
// - The Screen.ShowStatusBar was added.
// For FORM_COMPONENT_VERSION 16:
// - TitleVisible property was added
// For FORM_COMPONENT_VERSION 17: