Pull to refresh On Windows Phone

Check out this: WP8PullToRefreshDetector.cs using Microsoft.Phone.Controls; using System; using System.Windows.Controls.Primitives; /// <summary> /// This class detects the pull gesture on a LongListSelector. How does it work? /// /// This class listens to the change of manipulation state of the LLS, to the MouseMove event /// (in WP, this event is triggered when the user moves … Read more

Unable to create the virtual machine

The Windows Phone 8 emulator requires hardware Hyper-V support. In particular, it requires second-level address translation, hardware assisted virtualization, and hardware DEP support enabled and to not be ran in a hypervisor(no nesting). If you bought your machine within the past 4 years you should have no problem with these requirements. You can check out … Read more

Is it possible to update an existing Windows Phone 8 app to Windows Phone Store 8.1

TL;DR; – It preserves data on Isolated Storage when updating from WP8.0 to WP8.1 Runtime. Because the provided link to MSDN says only about Silverlight apps, and it’s not clear (if I hadn’t missed something) what would happen in case: I’ve old WP8.0 Silverlight App and now I decided to upgrade it to WP8.1 Runtime … Read more

Windows Phone 8 emulator error – Something happened while creating a switch

It’s already answered, but something easier worked for me (and without uninstalling VirtualBox): “Go into Hyper V. Go into the Virtual Switch Manager. Create a virtual switch called ‘Windows Phone Emulator Internal Switch’. Make it’s connection type Internal. Now launch the emulator. It should work.” I had to reboot the machine before running the emulator, … Read more

Windows Phone 8 emulator can’t connect to the internet

I think I’ve finally found the answer, but you’re probably not going to like it. It would appear that the phone emulator requires you to have a second network adapter to dedicate to this purpose. Personally, I run Windows 8 in VMWare, and so a second network adapter is free for me. Anyway, after you … Read more

Converting image to base64

What about trying: public static BitmapImage base64image(string base64string) { byte[] fileBytes = Convert.FromBase64String(base64string); using (MemoryStream ms = new MemoryStream(fileBytes)) { Image streamImage = Image.FromStream(ms); context.Response.ContentType = “image/jpeg”; streamImage.Save(context.Response.OutputStream, ImageFormat.Jpeg); return streamImage; } } I agree with Alexei that your code for reading the image in does look a little strange. I’ve recently written some code … Read more

Install Visual Studio 2013 on Windows 7

The minimum requirements are based on the Express edition you’re attempting to install: Express for Web (Web sites and HTML5 applications) – Windows 7 SP1 (With IE 10) Express for Windows (Windows 8 Apps) – Windows 8.1 Express for Windows Desktop (Windows Programs) – Windows 7 SP1 (With IE 10) Express for Windows Phone (Windows … Read more