Tag Archives: Windows Phone

Saving UI element as jpeg for Windows Phone 8.1

This is an follow-up of the Drawing pad for Windows Phone 8.1 Assume that the content that is needed to save into jpeg is in a scrollviewer, the below would be the implementation on saving the content. It works for most … Continue reading

Posted in C#, Windows Phone, winrt | Tagged , , | Leave a comment

Drawing pad for Windows Phone 8.1

Many had asked on how do we create a drawing pad for Windows Phone 8.1. It is very simple, in fact the code to get it done is exactly the same as that for Windows 8.1 In the xaml, you … Continue reading

Posted in C#, Windows Phone, winrt | Tagged , , | 3 Comments

Emulator couldn’t determine the host IP address

If you encountered the the error “Emulator couldn’t determine the host IP address” when trying to debug windows phone app in the emulator. You may try to head over to Network Connection and ensure that “vEthernet (Internal Ethernet Port Windows … Continue reading

Posted in Windows Phone | Tagged , , , , | 9 Comments

‘ParallelOperationThreadCount’ is larger than maximum of ’64’

The above exception occur when you upload a blob that is greater than the value specified by the SingleBlobUploadThresholdInBytes property, it is automatically divided into blocks that are uploaded individually and assembled into the complete blob by the service. The … Continue reading

Posted in Azure | Tagged , , , , | Leave a comment

Using Google Analytics to your Windows Phone Apps

For developers that would like to track the usage of your Windows Phone app that are in the marketplace. Google Analytics is actually a decent choice given that setting up is fairly easy. Simply head over to http://www.google.com/analytics/ and login … Continue reading

Posted in Google, Windows Phone, winrt | Tagged , , | 4 Comments

Windows Phone IP over USB Transport (IpOverUsbSvc) is not running. Retry after starting Windows Phone IP over USB Transport (IpOverUsbSvc) from the services management console.

If you encounter the below error message while developing app for Windows Phone. Error Message: “Windows Phone IP over USB Transport (IpOverUsbSvc) is not running. Retry after starting Windows Phone IP over USB Transport (IpOverUsbSvc) from the services management console.” … Continue reading

Posted in Visual Studio, Windows Phone | Tagged , , , | 44 Comments

Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.

You may encounter “Unexpected character encountered while parsing value: <. Path '', line 0, position 0." when trying to parse Json result that are downloaded from the WebClient method if the data is compressed in GZip. This is because WebClient … Continue reading

Posted in C#, Json, Windows Phone | Tagged , , , , , , , , | Leave a comment

Allowing Windows Phone App to change lockscreen background

In order for the app to change the lockscreen background, your app need to tell the OS that it is a lockscreen background app provider. To do this, you need to add the below extension right after the token area … Continue reading

Posted in Windows Phone | Tagged , , , , | 1 Comment

Navigation Service in App.xaml.cs C#/XAML

Any attempt to do the below in App.xaml.cs will result in “An object reference is required for the non-static field, method or property System.Windows.Navigation.NavigationService.Navigate(System.Uri)” Thus to ensure proper navigation within App.xaml.cs page, below is the right way. The reason for … Continue reading

Posted in Windows Phone | Tagged , , , | 3 Comments

Checking for Internet Connectivity in Windows Phone C#

To prevent app from crashing while doing web method due to the lack of Internet Connectivity, always use the below code to check for Internet Connectivity. Ideally the app should inform the user to check its internet connection before trying … Continue reading

Posted in Windows Phone | Tagged , , , | 1 Comment