Windows Store app projects stopped generating the .appxupload file after installing VS 2015 Update 1

Problem A few people have noticed that their Windows Store app projects stopped generating the .appxupload file after upgrading to VisualStudio 2015 Update 1.   CauseThe project is not associated with the Store app.The StoreAssociation file path is missing from the respective project .csproj file. Either one of these causes listed above can stop the…


Implementing a Shake event on Windows Phone 8.1

I was working in our MSDN Forums and found a post from a user trying to detect shake events for Windows Phone 8.1.  I quickly realized this event is not built into the SDK, so I set out to create a helper class to raise a Shake event for Windows Phone 8.1. The Accelerometer class…

0

Replacement for MarketplaceReviewTask in Windows Phone 8.1

Windows Phone Silverlight apps had a MarketplaceReviewTask to prompt users to review an app. Windows Phone Runtime apps don’t have an explicit task for this but can launch ms-windows-store: URIs to go to the review page. Use this with care and thought! Happy users give good reviews. Irritated users give bad ones. An occasional prompt…

0

I want the sound to go *here* – Audio routing in Windows Phone 8.1

Windows Phone 8.1 devices have a number of different audio output options. Most of the time the audio is routed to the default or “active” endpoint. The default endpoint is determined by a number of factors. If your phone is connected to a Bluetooth device that supports audio then it will be routed there by…


Windows Phone 8.1 Battery Saver, Background Agents, and Background Tasks

I worked a support case recently where the customer had a Windows Phone Silverlight 8.0 background agent running on Windows Phone 8.1.  My customer noticed that the background agents would not run when battery saver was enabled. In order to explain why this was happening, I first need to tell you some of the history…

0

How to use a Shared User Certificate for HTTPS authentication in an Enterprise application.

In Update 1 for Windows Phone 8.1, the ability to use the sharedUserCertificates capability was granted to Enterprise signed applications. The ‘sharedUserCertificates’ capability grants an application permission to access the certificates that the user has installed manually or that have been installed by an Enterprise MDM server, using SCEP protocol. Developers who try to use…

0

Capturing raw PCM audio on Windows Phone 8 and 8.1

There are a number of different audio capture and playback APIs on Windows Phone 8.x. Unfortunately If you want to get at the raw PCM data and process it in near real time your options are limited. While it is possible to capture raw PCM audio from managed code it is not recommended and likely…


Strategies for sharing code in XAML-based Universal apps

Universal apps are a great way to share code between your Windows and Windows Phone versions of your app. Most devs have figured out how to share modules which are exactly the same, but sharing modules which are only almost the same is a bit less obvious. The Shared project isn’t a normal, stand-alone project:…


Why can’t I create an app package? Windows Phone Xap vs. Appx

Differences between Windows Phone Silverlight apps and Windows Phone Store apps are a recurring source of confusion for Windows Phone developers. A frequently asked question on the Windows Phone forums is “Why can’t I create an app package? When I go to the store menu it has only a ‘Launch Windows App Certification Kit…’ option”….


Programmatically create and configure a Client Certificate for use in your Windows Runtime based app

  Often there is a need in your Windows Store app (including Windows Phone 8.1) to access resources (such as a WebServer) which requires Client certificate authentication. You typically use the Windows.Web.Http.HttpClient class to send a HTTPs request to your WebServer and attach a Client Certificate with the request to access such resources. This blog…