Application data is stored in which memory(Internal or External memory)?

Application data is stored in which memory(Internal or External memory)? Or in which location data is actually stored in device memory?

Posts

  • PrabakaranRamasamyPrabakaranRamasamy USMember ✭✭✭

    Go through the following answers.

    https://android.stackexchange.com/a/47951

    All apps (root or not) have a default data directory, which is /data/data/. By default, the apps databases, settings, and all other data go here. If an app expects huge amounts of data to be stored, or for other reasons wants to "be nice to internal storage", there's a corresponding directory on the SDCard (Android/data/).

  • PankajNandurkarPankajNandurkar USMember ✭✭
    edited December 2018

    In which memory(Internal or External memory) Xamarin Listview data is saved?

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    ListView data is held in App memory. Where it is retrieved from and persisted to is up to you. If your app uses too much memory it is likely to be terminated by the operating system.
  • PankajNandurkarPankajNandurkar USMember ✭✭

    For security reason we are not storing any data in cache. We are using List view controls to display data into the app. So is it possible to leaked list view data outside the application ? or is android or iOS stored this data to external memory for its references?
    We would like to know where the list view data is stored and is it possible for any other application/user used this data?

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Why are you hung up on ListView data? A ListView is just one of many controls which display data.

    That aside, both OSs by design insulate app data and memory from external apps for obvious security reasons.

    Therefore you should be safe to assume that your app's data is secure - especially you're not caching to the file system.

    However if you are really paranoid there is no guarantee that the device has not got malicious software installed which has been designed to circumvent the memory security.

    Note that iOS and Android both have settings which prevent screenshots being taken of an app which is displaying sensitive data.
  • PankajNandurkarPankajNandurkar USMember ✭✭

    Thanks, James

    I am not addressing only Listview but other Xamarin controls as well.

    It is clear that OS insulate app data, but need to know whether Xamarin stores any app data for conversion purposes (App conversion from Cross Platform into their respective Android Solution or iOS Solution)

    Just need an assurance that no app data is stored or access by any other application.

  • PankajNandurkarPankajNandurkar USMember ✭✭

    @JamesLavery said:
    ListView data is held in App memory. Where it is retrieved from and persisted to is up to you. If your app uses too much memory it is likely to be terminated by the operating system.

    Just wanted to know where c# (list) class stored the data in which memory (RAM or ROM). As far as I know, when object is created the space is allocated for it's member (Variable/Properties or function) and stored all the data in RAM. So is it possible to access that data outside scope.

  • JohnHairJohnHair GBMember ✭✭✭✭✭

    You know what ROM stands for, right?

    Your questions keep referring to list view classes, these are just visual representations of your data. The data is obviously stored in the devices memory, although you may have fetched it from the device storage into memory. It depends on what the data is.

    Your question on 'is it possible to access that data outside of scope', you need to define what you mean by scope. Stop asking about views, they are irrelevant to your question.

  • PankajNandurkarPankajNandurkar USMember ✭✭

    @JohnHair said:

    You know what ROM stands for, right?

    Your questions keep referring to list view classes, these are just visual representations of your data. The data is obviously stored in the devices memory, although you may have fetched it from the device storage into memory. It depends on what the data is.

    Your question on 'is it possible to access that data outside of scope', you need to define what you mean by scope. Stop asking about views, they are irrelevant to your question.

    Thanks, John

    Scope means outside the application.

  • JohnHairJohnHair GBMember ✭✭✭✭✭

    iOS and Android apps run in a sandbox, the data they hold in memory is not accessible to other apps unless you want it to be.
    However, with a jailbroken device, who knows.

Sign In or Register to comment.