App Inventor / Thunkable Extensions by NMD


Last Update: June 14, 2017 | NEW "Gesture handler Extension" Version 2

All downloads available on sourceforge

NMD Extensions


Simple Mathematics Extension

February 20, 2017 - Version 1

February 23, 2017 - Version 2 [Corrected names of the blocks]

 

Required permission: none

 

Description

You can calculate simple mathematics tasks (Multiplication, Division, Subtraction, Addition)

and also "cubed", "squared" and "to the fourth" calculations.

The "PI" block returns the number PI.

 

Every block has a description in the blocks editor.

 

Methods


Body Mass Index Extension

February 20, 2017 - Version 1

February 23, 2017 - Version 2 [Corrected names of the blocks]

February 25, 2017 - Version 3 added new methods "AfterCreateBmi event" & "CreateBmi"

 

Required permission: none

 

Description

The extension shows your body mass index.

Set the weight in kilogram and the size in meter

OR

 

Set the weight in pound and the size in inch.

You get the calculated body mass index from the event.

 

Every block has a description in the blocks editor.

 

 

Methods


QR Code Extension

February 21, 2017 - Version 1

February 23, 2017 - Version 2 [Corrected names of the blocks]

May 21, 2017 - Version 3 [added more options/ new methods]

 

Required permission: 

android.permission.Internet

 

Description

The extension creates a QR Code and the result is a link (url).

Set as example the resolution (in pixel) to 200 (height and weight has the same value) and text to: Hello world!

You can also set the charset, front and background color and many more things.

 

The result is than:

  • QR Code resolution is 200x200,
  • Text = Hello world!

Your text input is encoded(UTF-8) in the link automatically by the extension.

 

Every block has a description in the blocks editor.

 

 

Methods


Special Tools Extension

February 22, 2017 - Version 1

February 24, 2017 - Version 2 added new methods "DensityDpi", "GetScreenY" & "GetScreenX"

March 03, 2017 - Version 3 added new methods "Parse" & "BasebandVersion"

March 20, 2017 - Version 4 added new method "ToggleKeyboard"

April 2, 2017 - Version 5 added new method "CountWords"

June 11,2017 - Version 6 added new method "App name", "Get app name", "Keep screen on", "Move tast to back" & "package name"

 

Required permission: none

 

Description

The special tool extension has a lot of functions.

 

You can get current this informations:

  • Version name (Shows the version name of the app) [THX to TAIFUN for the code]
  • Version code (Shows the version code of the app)
  • Root Check (If the device is rootet than is the result true, else false)
  • API version (Shows the api version of the device)
  • Android version (Shows the android version of the device)
  • Bootloader version (Shows the bootloader version of the device)
  • Build number (Shows the build number of the device)
  • Country code (Shows the country code of the device)
  • Device name (Shows the device name)
  • Kernel version (Shows the kernel version of the device)
  • Language Code (Shows the language code of the device)
  • Manufactor name (Shows the manufactor name of the device)
  • Model name (Shows the model name of the device)
  • Serial number (Shows the serial number of the device(not imei)
  • DensityDpi (Get the density dpi of the device expressed as dots-per-inch) [THX to pavi2410 for the help]
  • GetScreenY (The absolute height of the available display size in pixels)
  • GetScreenX (The absolute width of the available display size in pixels)
  • Parse (Parse a result between two strings)
  • Baseband Version (Returns the version string for the radio firmware)
  • ToggleKeyboard (Toggle the keyboard on or off)
  • CountWords (Counts the number of words from a string input)
  • AppName (Return the name from the current running app)
  • GetAppName (Return the app name from any installed application on your device)
  • KeepScreenOn (As long as this window is visible to the user, keep the device's screen turned on and bright)
  • MoveTaskToBack (Move task to back)
  • PackageName (Return the package name of the current (your app) running app)

 

 

Every block has a description in the blocks editor.

 

 

Methods


Ocr Extension

February 24, 2017 - Version 1

March 19, 2017 - Version 2 bugfixes

April 02, 2017 - Version 3 added new methods "set ApiKey, set Language, set Overlayed"

 

Required permission: none

[But you need a internet connection to create text from a picture]

 

Description

Create text from a picture with the help from the ocr api.

You can create your own api key at ocr.space/ocrapi

You can use the default api key ten times in 24hours.

 

 

Every block has a description in the blocks editor.

 

 

Methods

Download [Ocr Extension]

Download Ocr (aia file)

You need access to the beta server from thunkable to run the aia file.


Image Editor Extension

April 08, 2017 - Version 1

June 11, 2017 - Version 2 added new methods "BlurEffect", "Pixelate" & "MergeTwoImages"

 

 

Required permissions:

android.permission.READ_EXTERNAL_STORAGE

android.permission.WRITE_EXTERNAL_STORAGE

 

 

Description

Now you can edit your pictures with this image editor extension.

What was previously only possible with online vendors or apis,

it's now possible with the help of this extension.

 

You have a lot of options like create a circle image, make round corners,

change the brightness of a image and a lot more.

 

Have fun!

 

Every block has a description in the blocks editor.

 

 

Methods


Dialogs Extension

April 17, 2017 - Version 3

 

 

Required permissions:

android.permission.READ_EXTERNAL_STORAGE

android.permission.WRITE_EXTERNAL_STORAGE

 

 

Description

The dialogs extensions is my first cooperation with Vishwas Adiga (Helios), 

a great member of the thunkable community.

You will find the source code here.

 

With this extension, you can 

A. Show progress dialogs of three kinds: a spinning dialog, an indeterminate linear dialog and a determinate linear dialog.

B. Show a picker dialog of which only one option can be selected.

C. Toast a message on the screen.

D. Set a custom image as icon.

E. Show a checkbox dialog.

F. Change the theme (light or dark).

 

Have fun!

 

Every block has a description in the blocks editor.

 

 

Methods


Click listener Extension

June 7, 2017 - Version 1

 

 

Required permissions: none

 

 

Description

Everyone knows that some components like images don't have a click event.

 

From now on it is possible to make click & long click events for following components with the help of my extension:

 

  • Images
  • Labels (text labels)
  • Horrizontal arrangements
  • Vertical arrangements

 

 

Every single new block has a click and long click listener.

 

Why do you need to set a id?

So that you can identify and manage clicks from any component.

You can drag so many same listeners how you want, BUT don't take the same id two times.

 

Every block has a description in the blocks editor.

 

Methods

Click listener Extension (*.aix)

Gesture handler Extension

June 11, 2017 - Version 1

June 14, 2017 - Version 2 added new methods "Vertical scroll arrangement" & "Horizontal scroll arrangement" gesture handler

 

 

Required permissions: none

 

 

Description

You want do detect gestures on the screen? You are here right!

 

Detect gestures on the screen (vertical,horizontal & vertical scroll, horizontal scroll arrangements)

without the canvas component. 

 

  

Why do you need to set a id?

So that you can identify and manage gestures from any gesture handler component.

You can drag so many same listeners how you want, BUT don't take the same id two times.

 

Every block has a description in the blocks editor.

 

Methods & Example