Memory Size Extension (21/05/2017)


#1

Comparto Extensión Memory Size
co.com.dendritas.MemorySize.aix (6.0 KB)
MemorySize.aia (17.4 KB)

gracias a ChartMaker de - Kate y Emily https://groups.google.com/forum/#!category-topic/mitappinventortest/app-inventor-extensions/qtYWkR8rBxM

enjoy

Andres


#2

Very Useful Extension. keep it up


#3

can we get an extension that can draw Graphs and pie Chart etc?


#4

@Brainwork

Here is a link

https://github.com/MillsCS215AppInventorProj/chartmaker


#5

@Sander0542 Thank you for the quick response


#6

And @Sivagiri_Visakan has reviewed this extension on the Thunkable Extensions Directory too:


#7

i have bookmarked your website for references. it is useful. keep it up bro


#8

Muy útil la extensión :+1:

Gran trabajo otra vez :clap:


#9

@Andres_Cotes btw. the file extension https://puravidaapps.com/file.php already offers some blocks, which offer this functionality… :wink:

Return a list of available storage directories.

Return available size of given storage directory in Bytes.
To get the value in KB, divide by 1024. To get the value in MB, divide by another 1024. To get the value in GB, divide by another 1024.

Minimum API Level for this method is API Level 9 (Android 2.3)

Example Use

Saludos,
Taifun


#10

Is it possible to use these extensions to get a specified file size?


#11

you might want to use the file extension and its Length method

Taifun


#12

Hi,

Why the getTotalExternal method gives me the same value that getTotalInternal method? and the same for getAvailableExternal with getAvailableInternal


#13

I think that because you have the memory of the cell phone full and you have an internal and external memory of equal size


#14

Hi Andrés,

I have removed apps and clean my cell phone and you extention continue gives me the same values to internal and external methods. Try to do a small example where you get TotalInternalMemory, TotalExternalMemory, AvailableInternalMemory and AvailableExternalMemory. You can see that the numbers will be the same

Perhaps the problem could be that my phone hasn’t external memory and you extention shows the same information of internal memory

Thanks Andres