简体   繁体   中英

Android Database in app space or sdcard

I am working on an Android App that will have a database. I am sure that the database will grow big. Is it a good idea to create the database in the App Space or sdcard, especially when you know that it will grow big ?

Are there any security concerns if we use sdcard for the database ?

Use the app space. Even if it will grow bigger. Use the app space.

on SD-Card your database can:

  • be deleted by the user
  • be deleted by applications with WRITE_STORAGE access
  • be physically removed from the device (removing the SD-card)
  • be read/write by everyone (including other developers and users).
  • it can be read/write by the user by removing the SD-card and connecting it to his computer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM