0

I'm fairly new to Android/Java and wanted to make an app that displays info on the installed apps on a device.

I've successfully used resolveInfo to get an app list as described here.

But I was interested in determining things like the app category, current cache size, or last time the app was used. I thought I could access this using /data/data/, but I guess I can't do that due to security issues.

Any coding magic that can get this kind of information?

Community
  • 1
  • 1
kittka
  • 241
  • 1
  • 3
  • 10

1 Answers1

1

app category

That is an Android Market concept and does not exist in the Android OS.

current cache size

I suspect that is not available to SDK applications.

last time the app was used

I am not even sure that is tracked.

I thought I could access this using /data/data/, but I guess I can't do that due to security issues.

Correct.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Eh, that's what I thought. Disappointing! But how does an app like DiskUsage determine data size of other apps if /data/data is unavailable... – kittka Feb 06 '11 at 18:39
  • @kittka: DiskUsage reports on external storage (e.g., SD card), not `/data/data`. – CommonsWare Feb 06 '11 at 18:49