Skip to content

Device Utilities

Non-Visible component
Category Requires Version
Utilities API 21, Android 5.0 Lollipop 5

Overview

A non-visible component that fetches specifications of the device.

Permissions

Events

Got IMEI

Event to get the IMEI after it was requested.

Params
imei Text

Got Serial

Event to get the serial number after it was requested.

Params
serial Text

Methods

Copy

Copy text to clipboard. In case 'Show Success Toast' is true, the toast with your message will be shown after copying a text to the clipboard.

Params
text Text
Success Toast Message Text

External Storage Available

Returns: Number

Available size of external storage in Gigabytes.

External Storage Total

Returns: Number

Total external storage size in Gigabytes.

External Storage Used

Returns: Number

Size of used-external-storage in Gigabytes.

Get IMEI

Get the IMEI of the device. The result will be then at the 'Got IMEI' event.

Get Serial

A hardware serial number, if available. Alphanumeric only, case-insensitive. For apps targeting SDK higher than N_MR1 this field is set to UNKNOWN.

Has Dangerous Apk Installed

Returns: Boolean

Returns TRUE if one of 12 known patching or root emulating packages is installed. The name of the package is not returned, so the user does not know which package name to change. Developed by Cian.

Internal Storage Available

Returns: Number

Size of available internal storage in Gigabytes.

Internal Storage Total

Returns: Number

Total size of internal storage in Gigabytes.

Internal Storage Used

Returns: Number

Size of used-internal-storage in Gigabytes.

Is Adb Debugging Enabled

Returns: Boolean

This returns TRUE if ADB debugging is enabled, which could be a sign of hacking your app, or a compromised device. Developed by Cian.

Is Emulator

Returns: Boolean

Returns TRUE if the device operating on an emulator. Developed by Cian.

Is Installed From Play Store

Returns: Boolean

Returns TRUE if the app was installed from Play Store. Developed by Cian.

Memory Free

Returns: Number

Total free RAM size in Gigabytes.

Memory Total

Returns: Number

Total RAM size in Gigabytes.

Memory Used

Returns: Number

Size of used-memory in Gigabytes.

Parse

Returns: Text

Parse a text between two strings. Example: text = abcdef, start = a, end = d, result = bc. If there is a problem the 'if Text Not Found' will be returned.

Params
text Text
start Text
end Text
if Text Not Found Text

Paste

Returns: Text

Paste text from clipboard. In case 'Show Success Toast' is true, the toast with your message will be shown after pasting a text from the clipboard.

Params
Success Toast Message Text

Properties

Android Version

Text ➖ Read - Blocks

Get the android version of device.

API Version

Number ➖ Read - Blocks

The user-visible SDK version of the framework.

Board

Text ➖ Read - Blocks

The name of the underlying board, like "goldfish".

Bootloader Version

Text ➖ Read - Blocks

The system bootloader version number.

Brand

Text ➖ Read - Blocks

The consumer-visible brand with which the product/hardware will be associated, if any.

Build Number

Text ➖ Read - Blocks

Get the build number(Software) of the device.

Country Code

Text ➖ Read - Blocks

The result is the code of your country.

Device Id

Text ➖ Read - Blocks

Returns the unique device specific 'AndroidID'. Developed by Cian.

Device Name

Text ➖ Read - Blocks

The name of the industrial design.

Fingerprint

Text ➖ Read - Blocks

A string that uniquely identifies this build.

Hardware

Text ➖ Read - Blocks

The name of the hardware (from the kernel command line or /proc).

ID

Text ➖ Read - Blocks

Either a changelist number, or a label like "M4-rc20".

Language Code

Text ➖ Read - Blocks

The result is the code of your device language.

Manufacturer

Text ➖ Read - Blocks

The manufacturer of the product/hardware.

Model Name

Text ➖ Read - Blocks

The end-user-visible name for the end product.

Product

Text ➖ Read - Blocks

The name of the overall product.

Radio Version

Text ➖ Read - Blocks

Returns the version string for the radio firmware. May return null (if, for instance, the radio is not currently on).

Serial

⚠ Deprecated

Text ➖ Read - Blocks

DEPRECATED. DO NOT USE THIS ANYMORE. USE 'Get Serial' INSTEAD!

Show Success Toast

Boolean Default: False ➖ Read Write - Designer Blocks

Returns true if 'Show Success Toast' is enabled.

Tags

Text ➖ Read - Blocks

Comma-separated tags describing the build, like "unsigned,debug".

Type

Text ➖ Read - Blocks

The type of build, like "user" or "eng".


Last update: November 9, 2022