-2

We usually use SharedPreference and SQLite DB to storage some cache data.
But now many Android Devices don't allow you to see the data in root partition/data/...

How to check these ones?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
G-Cao
  • 1
  • 2
  • for the SQLite I'm using the sqlite3, for the SharedPreference I didn't try yet – Adliano Alves Oct 29 '17 at 07:00
  • 1
    https://stackoverflow.com/questions/6364577/how-to-get-the-current-sqlite-database-size-or-package-size-in-android – Infamous Oct 29 '17 at 07:14
  • Possible duplicate of [How to use SharedPreferences in Android to store, fetch and edit values](https://stackoverflow.com/questions/3624280/how-to-use-sharedpreferences-in-android-to-store-fetch-and-edit-values) – Schwesi Oct 29 '17 at 08:48

1 Answers1

0

Programmatically, you'd need root access, or at least runtime permissions to read the storage since Android 23

You can use Stetho to inspect such information.

If you only care about seeing the filesystem, Android DDMS is built in to Android Studio, and does let you inspect the filesystem

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245