Question

I have an app that downloaded the data from server(images) and lists those images in listview of android application


When we add an image(downloaded from server) to the listview where the listview stores the image I mean in which location listview stores

  • Shared preferences ?
  • internal storage ?
  • Others ?
Was it helpful?

Solution

It is stored in the Internal Storage. You can check it by clicking DDMS>File Explorer>data>data>App_package_name and there you go.

Sometimes it might not display when you click DDMS, then you just have to close and re-start the eclipse again. Hope this helps.

OTHER TIPS

You add you code that will identify where you store images. Generaly in Data/data/YourPackage/

ListView doesn't stores anything itself - it's just a container you use to represent some data in form of list. All views you put in ListView stores in device memory - including images.

They are in the application package cache memory.

i.e data/data/YourPackage/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top