What should be the maximum amount of data stored in the internal storage of Android applications?

Android provides 2 main options when you need to store a large number of files in a folder:

  • Internal storage
  • External storage

I need to store from 5 MB to 100 MB of data (XML, images, HTML, sounds), and I'm trying to decide which option should be the default.

In a perfect world, internal storage sounds like the best option:

  • adds some control access
  • it is available in 100% of cases [EDIT: my application must be fully functional offline)
  • ... but it can also be very limited

On the other hand, external storage will be larger, but may not be available in 100% of cases.

What do you think about this problem. What should be the maximum. the amount of data that the application can store on the device’s internal drive without destroying the entire Android application for the user?

+4
source share
1 answer

I guess the question is where to install the application . This is a compromise between preserving the user's internal storage and providing full access.

In my opinion, as soon as your application weighs more than 20 MB, you should install it on external storage. If external storage becomes unavailable, this probably means that the user is not using any application ...

In addition, many heavy applications receive poor grades for being unable to install on external storage (Chrome is a well-known example weighing more than 60 MB).

+2
source

Source: https://habr.com/ru/post/1483412/


All Articles