[FREE] AndroidTools - Extension (1.3)

Introduction

CURRENT VERSION : 1.1 || SEE BELOW!

AndroidTools : Some additional features

I thought, the other extensions are missing some features, so I tried to add them in my extension. :grinning:
It is just a small extension!


Info

WARNING : Some devices with lower version may not be compatible with the extension!


Blocks

component_method

Check whether the device is locked/protected by any PIN, Password or pattern.
Returns : Boolean - true/false


component_method (1)

Gets the exact RAM of the device in bytes.
Returns : numbers


component_method (2)

Gets the battery info, triggers GotBatteryInfo event block.
Returns : nothing


component_event

Triggered when got battery info.
chargingType : returns numbers, 1 equals USB charging, 1 equals AC/Normal charging & 0 equals failed to recognize or phone is not plugged in.

timeLeft : tries to calculate the charging time left for the device approximately, -1 equals failed/not enough data to calculate. (Notice : requires at least API 28, stating from Android 9!)


Downloads

Direct download : com.extension.AndroTools.xoma.aix (7.6 KB)
Google Drive : Click me


Hope you liked my new extension!
Xoma :grinning:

18 Likes

nice extension

1 Like

Update 1.2 :watermelon::watermelon:

Finnaly Here!

Added Blocks

component_method

Get the info of all the processors running & info about hardware
Returns : String/Text


component_method (2)

Gets the device exact FPS
Returns : numbers


Some minor changes done
Increased extension size

Downloads

com.extension.AndroTools.xoma.aix (9.1 KB)


Donation (Optional)

Donations are accepted :blush: :watermelon:

Say me if something is missing. :blush:

4 Likes

thank you for your contribution

please remember the naming conventions... method names start with a capital letter, i.e. IsDeviceLocked woud be the correct method name...

btw. there already is a battery manager extension available, see here https://puravidaapps.com/battery.php

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

Thanks Taifun

I will. :grinning:

Yes, it jst provides additional information, like charging time left & charging type.
:slightly_smiling_face:

1 Like

1.3 Major Update


  • Bug Fixes & Improvements done
  • Added new blocks
  • Renamed some blocks (MAY EFFECT YOU'RE PROJECT)

Blocks Added


component_method

Clears the app data including permissions. WARNING : Use it carefully!

component_method (1)

Get the app icon thorough the package name. Triggers 1 `IconSaved` event block.

Accepts : 

packageName - text/packagename
path - text/path

component_event

Triggered when the icon is saved into the internal storage.

Returns : 

packageName - text
path - text

component_method (2)

Gets the App name from the package name

Accepts :

packageName - text/packagename

Returns :

String - text

component_method (3)

Checks whether the given package name of a app belongs to the system app or not.

Accepts : 

packageName - text/packagename

Returns : 

boolean - true/false


component_method (4)

Checks whether `Bluethooth` is enabled or not.

Returns : 

boolean - true/false


component_method (5)

Checks whether `Wi-Fi` is enabled or not.

Returns : 

boolean - true/false

Downloads

com.extension.AndroTools.xoma.aix (13.3 KB)


Hope you liked the update!

XOMA

5 Likes

OMG OMG this amazing

1 Like

Sir, How where you make this Extension,
I mean In which Website

1 Like

I use GotBatteryInfo, and sometimes I get chargingType=2...what is it ?
what is the difference between USB charging and Normal charging ? all charge is through USB no ?

USB charging is when the device is connected to another device like laptop and the phone starts charging. Normal charging is when the phone is connected to its charger, i.e it is plugged in.

1 Like

https://community.appinventor.mit.edu/uploads/default/original/3X/c/c/cc0d9612685de666307ff166d06ed44c8dc115e9.png

I'm looking this extension but to check MockLocationEnabled or not :slight_smile:

and also to check AutomaticDateTImeEnable or not :slight_smile:

hopefully if you update this extension that 2 thing will be included...

Thanks...

please update (edit) the first post too (the version and the blocks)