StorageUtils: Utils for Storage system

1.Introduction

Description: Using this extension you can get some basic information about storage
Latest Version: 1
Released: 2021-04-21T18:30:00Z
Last Updated: 2021-04-21T18:30:00Z

2.Blocks

image

3.Documentation

AppSize

Returns apk size of given app
Params

pkgName | text


Return type : number

AvailableExternalStorage

Returns available external storage
Return type : number

AvailableInternalStorage

Returns available internal storage
Return type : number

AvailableRam

Returns available ram
Return type : number

IsExternalStorageAvailable

Returns whether external storage is available or not
Return type : boolean

IsExternalStorageEmulated

Returns whether external storage is emulated or real
Return type : boolean

IsSdCardAvailable

Returns whether removable external storage(SD Card) is available or not
Return type : boolean

TotalExternalStorage

Returns total external storage
Return type : number

TotalInternalStorage

Returns total internal storage
Return type : number

TotalRam

Returns total ram
Return type : number

4.Download

Download Aix: com.sunny.StorageUtils.aix (7.1 KB)

Hope it helps! :slightly_smiling_face:

8 Likes

Wow Nice Extension :sunglasses:

Nice extension, thank you.

But ...

Thank you


@Anke Is that sdcard removable?

Wait...Are you testing on Emulator?

Yes, as you can see here:
grafik

Companion.

Then Google will have to fix that. :joy:
Environment class is full of deprecated methods.