Building Apps for Windows Phone 8 Jump Start: (04) Files and Storage on Windows Phone 8

Download this episode

Download Video

Download captions

Description

This module covers new storage concepts for Windows Phone 8. The concepts covered in this module include accessing the Installation folder or the Local folder using the Windows Phone Runtime Windows.Storage APIs. Additionally, Andy and Rob focus on background file transfers, Special Folders (Shared/Media, Shared/ShellContent, Shared/Transfers), and exploring the local folder with ISET Using Removable SD cards.

  • [03:32] - Persistent storage in WP8
  • [10:13] - Using Windows Phone runtime storage
  • [26:02] - Special folders
  • [31:34] - Exploring the local folder

Full course outline:

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    More episodes in this series

    Related episodes

    The Discussion

    • User profile image
      rudelm

      I have a question regarding the usage of WinRT functions for file access. You show us at 13:53 a method to load aynchronous a string from a file. If I try to use this code, Visual Studio says that the return type of this method must be void, Task or Task<T>. This would mean that I cannot get that easily information out of async marked methods.

       

      And another question: For me it seems easier to use the above mentioned method to access files with WinRT. Is there any good reason to use the other version using ms-appdata:// or ms-appx:// instead? It seems more uncomfortable and insecure, if there is no included check for file existance.

    • User profile image
      payini

      Great videos! Thank you.

    • User profile image
      AndyCW

      @rudelm: Check out the sample code at http://aka.ms/eyoq3p - that includes that particular demo.

    • User profile image
      anonymous

      Hi Andy,

      as per reports emerging, there is a folder named "OTHER" in the windows 8 phone which takes up a huge amount of data in terms of GB's and cannot be cleared nor opened nor deleted.

      all apps, games, photos etc when stored or installed leads to exponential increase in this folder and on deletion not much change to the previous values.

      kindly look into the matter

      Cheers!

    • User profile image
      Razvan

      There is a file / folder named "Other" in WP8 that takes up a lot of storage space(mine is currently at 2.9 while the OS is 2.2. Could you look into that please?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.