Rush • A new and improved way of building extensions

You declare them in AndroidManifest.xml using the uses-permission tag.

7 Likes

Wow, you are the one who changed the world. :star_struck: :heart_eyes: :kissing_heart:
P.S: whether with the rush we must still have the mit app inventor source?
P.S2: can rush make it easier for us to create extensions that contain libs?

4 Likes

To use Rush, all you need is Java JDK 8 or above, and Rush itself. How to install Rush is explained in detail here.

To use external libraries, you need to add the desired ones to the deps folder, and create an entry for them in deps field in rush.yml. Can't say if it's easier], but it's a bit different than the traditional way.

4 Likes

Amazing! I totally surprised when I saw this topic. Really great thing that you made @shreyash

3 Likes

Still I am confused. Do we don't need to use jar files? :sweat_smile::sweat_smile::sweat_smile:

2 Likes

That feature is not yet available. It is planned to be released in the future. :point_down:

4 Likes

replace it with windows 64 bit it's not working for 32bit help

3 Likes

make it work for win 32 bit

2 Likes

You're right. It doesn't work with 32 bit Windows. Sorry for the inconvenience.

4 Likes

Yes, it's not working on Windows 32 bit. It would be really good if it works on it as well.

2 Likes

May Rush make "Widget" on display ?

2 Likes

AFAIK, creating widgets require adding some XML resources to the app. This is currently not possible with App Inventor, and hence, you can't develop extensions that create widgets using Rush.

2 Likes

If edit Manifest and add Xml in Apk Editor, may will work ?)
http://learn-android.ru/news/sozdanie_widget_delaem_vidzhet_na_android_ustrojstvo/2015-04-10-86.html

2 Likes

Editing the Android manifest is supported with Rush, but it's not just that. You need to add layout resources as well, which currently isn't supported by AI2 as well as Rush.

3 Likes

If add from APK Editor: ?

5 Likes

I haven't tried it, but I guess it'd be possible.

2 Likes

Hey, @shreyash Nice work.

Can you share demo template file which to create a extension with Rush?

2 Likes

When you create an extension using rush create command, every required file, including a starter Java file for the extension, is automatically created for you. This is already discussed in the first post and in the wiki. You might want to read it thoroughly first.

2 Likes

Capture
but there is no aix in out directory

2 Likes

same happening with powershell

2 Likes