You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fully supported Dynamic Components extension for MIT App Inventor 2. It is based on Java's reflection feature, so it creates the components by searching for a class by just typing its name. So it doesn't have a limited support for specific components, because it supports every component which is ever added to your App Inventor distribution!
7
8
8
9
So if you use Kodular, you will able to create all Kodular components, if you use App Inventor, you will able to create all App Inventor components and so on. Extension components are supported too!
9
10
11
+
> ⚠ The `beta` branch will be reset after every release. So stay on the `main` branch if you don't know what you do.
<td><b>Full class name of the component.</b><br>✅ Doesn't require to add existing component.<br>✅ Extensions can be created also.<br><br>To learn the class name of the component use <code>GetName</code> block.</td>
54
59
</tr>
55
60
</table>
@@ -142,8 +147,7 @@ So if you use Kodular, you will able to create all Kodular components, if you us
142
147
<td>
143
148
Set a property of a component by typing its property name. Can be known as a Setter property block.<br>
144
149
It can be also used to set properties that only exists in Designer.
145
-
Supported values are; "string", "boolean", "integer" and "float". For other values, you should use
146
-
Any Component blocks.
150
+
It works for common types. For other values, you should use Any Component blocks.
147
151
</td>
148
152
</tr>
149
153
<!-- SET PROPERTIES -->
@@ -337,7 +341,7 @@ So if you use Kodular, you will able to create all Kodular components, if you us
337
341
<img src="assets/blocks/method_lastusedid.png">
338
342
</td>
339
343
<td>
340
-
Returns the last created component's ID by Create block.
344
+
Returns the last component's ID.
341
345
</td>
342
346
</tr>
343
347
<!-- USED IDS -->
@@ -394,6 +398,16 @@ So if you use Kodular, you will able to create all Kodular components, if you us
394
398
Returns the version name of the extension.
395
399
</td>
396
400
</tr>
401
+
<!-- ASYNC -->
402
+
<tr>
403
+
<td align="right">
404
+
<img src="assets/blocks/setget_async.png"><br>
405
+
<img src="assets/blocks/setget_async_2.png">
406
+
</td>
407
+
<td>
408
+
Sets whether component creation should work asynchronously or synchronously.
409
+
</td>
410
+
</tr>
397
411
<!-- SCHEMA CREATED -->
398
412
<tr>
399
413
<td align="right">
@@ -403,6 +417,15 @@ So if you use Kodular, you will able to create all Kodular components, if you us
403
417
Raises after Schema has been created with Schema block.
This sub-project allows you to create templates from App Inventor Project files automatically! So you don't need to write templates manually anymore!
3
3
4
-
It includes two scripts. `TemplateCreate.py` does the main job which is generating the template, and `cli.py` is made for you to access the `TemplateCreate.py` easily.
4
+
It includes two scripts. `TemplateCreate.py` does the main job which is generating the template, and `menu.py` is made for you to access the `TemplateCreate.py` easily.
5
5
6
6
> This script requires Python that needs to be installed, but if you have a solution that will work on everyone's computer without installing something, you can always create a Pull Request and a new tool for that :)
7
7
@@ -15,13 +15,12 @@ Then install the external modules by executing `pip install -r requirements.txt`
15
15
16
16
## 📦 Usage
17
17
18
-
* Insert your .aia file in this directory. And remember its name for later step.
18
+
* Execute the `main.py` file.
19
+
You can do that in your terminal by entering this folder and executing `python main.py`.
19
20
20
-
* Let's suppose your .aia file name is "HelloWorld.aia", then execute this command:<br>
21
-
`python cli.py "HelloWorld.aia"`
21
+
* A file dialog will open, just select the AIA/AIS file that you want to convert, then click "Open" button.
22
22
23
-
You can also type the screen name that you want to get template of it.<br>
24
-
`python cli.py "HelloWorld.aia" --screen=Screen1`
23
+
* If the project contains more than one screen, you will be asked to select which screen will be used with selection dialog.
25
24
26
25
If everything goes well, you will see the generated JSON file in this directory.
0 commit comments