Monthly Archives: February 2012

Upgraded Your WP7? How to reinstall your apps

I recently got my hands on new Nokia Lumia 800 and I am loving it! Especially how PINK it is!

Anyway, after the initial setup and plugging it into my zune software, I wanted to load my previously downloaded apps through my pc instead of trying to remember what I’ve downloaded and searching for them one by one on my new phone. Turns out, I couldn’t do this through the Zune client. When I tried to download the app, it’ll tell me it’s already purchased and disables the button to “buy” the app.image

I thought I was doomed to a night of testing my memory out and downloading the apps on my my phone but then when I logged into and went to the My Phone link then Account


The page showed me my app purchase history with a link to reinstall. Sure it’s a bit manual, but it’s better than remembering from memory or taking a screen shot of the purchase history in the zune app and having to search download the app on your phone.


The reinstall link takes you to a page where you can select which phone to install it to:


Next is a confirmation page if the app needs access to specific services on your phone.


The reinstall link will initiate the download to your phone. I remember the first time I did this though, I was prompted whether I wanted to automatically download the app onto my phone, or receive a message with a link to the app. Subsequent reinstalls no longer prompted me with the options.


Logging out of Facebook WP7

Building a WP7 application with facebook and I’ve been using the Facebook C#SDK  which was fine till I wanted to enable logging out of my application. I found this post helpful

but changed the code a bit as facebook was returning a different HTML from when this code was probably created

private void wb_Navigated(object sender, NavigationEventArgs e)    {
 string fbLogoutDoc = wb.SaveToString().ToLower();
 Regex regex = new Regex
 ("\\<A href=\\\"/logout(.*)\\\".*data-sigil=\\\"logout\\\"");
 MatchCollection matches = regex.Matches(fbLogoutDoc);
 if (matches.Count > 0)      {
  string finalLogout = string.Format
  wb.Navigate(new Uri(finalLogout));