DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > EvenTiles from Start to Finish - Part 6

EvenTiles from Start to Finish - Part 6

Maarten Struys user avatar by
Maarten Struys
·
Feb. 04, 12 · Mobile Zone · Interview
Like (0)
Save
Tweet
2.64K Views

Join the DZone community and get the full member experience.

Join For Free

in the previous episode of this series about how to develop a windows phone application from scratch we used isolatedstorage to persist some data. since isolatedstorage is a file store on a windows phone device, for exclusive use by a single application, it can be a challenge to look at its contents. luckily, the windows phone 7.1 sdk has a tool available to explore isolatedstorage contents. in this episode of eventiles we will explore this isolated storage explorer tool .

the isolated storage explorer tool is a command line tool, which is installed together with the windows phone 7.1 sdk in the following folder:

c:\program files (x86)\microsoft sdks\windows phone\v7.1\tools (64 bit os)
or
c:\program files\microsoft sdks\windows phone\v7.1\tools (32 bit os)

the tool itself has a lot of parameters, to get contents from isolatedstorage, to write contents to isolatedstorage, to specify an application and to specify a device. in a command prompt some limited help information is available:

image


in order to retrieve our applicationsettings from isolatedstorage for eventiles, the first thing we need to know is the productid for our application. this ide can be found in the wmappmanifest.xml file.

wmappmanifest.xml

<deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" appplatformversion="7.1">
  <app xmlns="" productid="{883385e6-52e5-4835-83db-8a17499b5767}" title="eventiles"


the next thing we need to do is make sure that the emulator is started (or a physical device is connected). either should have the application installed, but it is not necessary to have the application running. after passing the following command,

image


the folder c:\iso will contain a snapshot of our application’s isolatedstorage.

image


when we drag and drop the _applicationsettings file to visual studio 2010, you can see that its contents are xml data, representing a dictionary with one single entry defined in it, matching our secondary tile’s back side string.

image


you might not like using a command line tool to explorer isolatedstorage. in that case, there is good news for you. if you browse to http://wptools.codeplex.com/ , you will find the windows phone power tools for download. this handy collection of tools embeds the different sdk tools including the isolated storage explorer tool inside a windows application. with that application you can explore your application’s isolatedstorage as well. using the power tool, it is also easy to write new or modified files to your application’s isolatedstorage. the latter makes a lot of sense if you want to test new versions of applications against old contents in isolatedstorage, for instance to migrate old files to new versions.

image


the following video shows the isolated storage explorer tool and the windows phone power tools in action.





so this time we did not add functionality to our eventiles application, but it is important to learn about useful tools to help us develop our applications as well. in the next episode we will talk about tombstoning and fast application switching and what we need to do in our application to support these two important execution states on windows phone devices.

if you want to see eventiles already in action on your windows phone, you can install the latest release from marketplace. remember that this application is not meant to be extremely useful, although it contains similar functionality that “serious” applications have. all functionality that you can find in the released version of eventiles will be covered in the upcoming episodes of this blog series, together with all source code. just go ahead and get your free copy of eventiles from marketplace at this location: http://www.windowsphone.com/en-us/search?q=eventiles (or search on your phone for eventiles in the marketplace application).



source: http://mstruys.com/2011/12/07/eventiles-from-start-to-finishpart-6/

application Windows Phone

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • SQL GROUP BY and Functional Dependencies: a Very Useful Feature
  • Java Microservices: Code Examples, Tutorials, and More
  • Vaadin Apps as Native Executables Using Quarkus Native
  • SQL Database Schema: Beginner’s Guide (With Examples)

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo