[FREE] DeviceUtils - To get some info about your device!

Hello inventors, :wave:
Today, I am going to present my new extension which is DeviceUtils.
Small, but useful !

Blocks:

blocks (3)

AndroidVersion -  Returns the version of your android device.

SdkVersion - Returns the SDK version of your android device.

BaseOs - Returns the base OS build the product is based on.

CodeName - Returns the current development codename, or the string "REL" if this is a release build.

Incremental - Returns the internal value used by the underlying source control to represent this build. E.g., a perforce changelist number or a git hash.

PreviewSdkVersion - Returns the developer preview revision of a prerelease SDK. This value will always be 0 on production platform builds/devices.

SecurityPatch - Returns the user-visible security patch level. This value represents the date when the device most recently applied a security patch.

Example Usage:

Result:

Download:

Versions

V1 (4.6 KB)
V2 (4.6 KB)

Aia - DeviceUtils.aia (5.3 KB)

Note - Somtimes, Base OS is returned as empty string.

Thanks !

7 Likes

Good extension

1 Like

Thank you @Parva ! :slightly_smiling_face:

That's good.
You are learning slowly.

However, you should rename extension to DeviceUtils.

3 Likes

Thank you @vknow360 !

For sure :slightly_smiling_face:.

And that can't be an update, but a new version, because the packageName is then changed.

2 Likes

New version v2 released ! :partying_face:

Renamed the extension and changed the package name. :sweat_smile:

DeviceUtils.aix (4.6 KB)

2 Likes

Wow Good Job :partying_face:

1 Like

Thank you @Salman_Dev ! :blush:

1 Like

just name modification == new Version?
:thinking:

you could instead update aix in first post and change blocks

Nice aix :+1:

1 Like

Thank you @Know_About_IT ! :slightly_smiling_face:

Great Extension @Aquib_Khan
:+1:

1 Like

Thank you @SRIKAR_B.S.S ! :slightly_smiling_face:

1 Like

There might be a possible way to change a setting from java, so maybe try coding it?