Questions tagged [windows-phone-8.1]

Windows Phone 8.1 is a major update to Microsoft's Windows Phone 8 operating system. It was announced at the Build Conference in April 2014.

Windows Phone 8.1 introduces new functionality compared with Windows Phone 8.0, in the form of two new API sets:

  • Windows Runtime (MSDN), all APIs with a phone icon on the documentation page is available on WP8.1. This applies to the "Universal App" project types. Many of these APIs are shared with Windows Store applications (aka. Metro or Modern applications), allowing you to have the same code-base for both Windows and Windows Phone applications. Consider using and/or for questions about Universal Applications, to distinct them from Silverlight 8.0/8.1 questions.

  • Silverlight (MSDN) applies to Silverlight 8.0 and Silverlight 8.1 APIs. There's no specific distinction on MSDN for 8.1 only APIs.

  • Improved and security.

  • New APIs for .

MSDN also have a mixed list of the two above for What's New in Windows Phone 8.1 (MSDN), primarily targeting the Windows Runtime features.

Official developer resources are available at dev.windowsphone.com.

Learning resources

7701 questions
27
votes
2 answers

Encrypt string with Bouncy Castle AES/CBC/PKCS7

I have been looking everywhere for some sample code on how to encrypt a simple string with the encryption in the title using the Bouncy Castle Framework. This code will run on a Windows Universal project. My previous attempts to encrypt using the…
timr
  • 6,668
  • 7
  • 47
  • 79
26
votes
3 answers

Windows Phone 8.1 Universal App terminates on navigating back from second page?

I have 2 pages in my Windows Phone 8.1 Universal App. I navigate from Page1.xaml to Page2.xaml by using a button with the click event code: this.Frame.Navigate(typeof(Page2)); When I am on Page2, and I use the hardware back button the app closes…
Niels
  • 2,496
  • 5
  • 24
  • 38
25
votes
3 answers

ObjectDisposedException on HttpClient

I have a Windows Universal Project with multiple API calls. One method refuses to work eventhought my other calls work perfectly like this. I have tried the using keyword thought it would resolve the issue. The function: public async Task
timr
  • 6,668
  • 7
  • 47
  • 79
25
votes
1 answer

Multiple certificates with HttpClient

I am building a Windows Phone 8.1 app which allows Azure users to view their subscription/services using the Azure Service Management API. The authentication is done using the management certificate and the certificate is attached to all the…
Sridhar
  • 837
  • 1
  • 10
  • 21
25
votes
1 answer

How do you show the loading animation for windows phone 8.1 universal store apps?

When performing an async function to either get local data, access a file, or call an API, how do you trigger the loading animation during this, possibly, long routine? Here's an example:
RichC
  • 7,829
  • 21
  • 85
  • 149
24
votes
5 answers

ListView in Windows Phone 8.1 Wobbles while scrolling though long list (XAML)

I'm having issues with scrolling through ListViews in my Windows Phone 8.1 App. Short lists scroll just fine, scrolling smoothly however as soon Virtualization kicks in the entire ListView "wobbles" to the left slightly, but noticeable enough to be…
CoreyRalli
  • 724
  • 5
  • 17
24
votes
1 answer

Make a phone call in Windows Phone 8.1

I'm writing a Universal App for Windows 8.1 / Windows Phone 8.1 that at some point displays a list of phone numbers. What I would like to do is allow the user to press one of these numbers and have the device call (or ask permission to call) that…
robmikh
  • 567
  • 1
  • 4
  • 11
23
votes
3 answers

Windows Phone 8.1 MediaCapture freezes the phone

I want to make a simple app that will allow me to check few parameters of every frame of preview, but I got stuck at running and stopping preview. /// /// An empty page that can be used on its own or navigated to within a Frame. …
23
votes
1 answer

WPF Radial Progressbar/Meter (i.e. Battery Meter)

I'm working on an Unified fitness app for Windows 8.1 and Windows Phone 8.1. Ideally one of the core views would feature a daily progress meter. The problem is that I haven't been able to come up with an actual meter or gauge. What I'd like to have…
TheMoonbeam
  • 519
  • 1
  • 5
  • 15
22
votes
1 answer

Windows Phone Silverlight 8.1 app - NoFill answer from admob

I have a huge problem with loading ads from AdMob on my Lumia 730. Currently, I have 4 different ads in my app (which is SILVERLIGHT 8.1, NOT 8.0, and not 8.1 WP) and unfortunately, I always get the same error from each page on which particular ad…
CPS86
  • 320
  • 1
  • 7
22
votes
3 answers

Getting Windows Phone version and device name in Windows Phone 8.1 XAML

In Windows Phone 8 Silverlight I use Environment.OSVersion.ToString() to get Windows Phone version and DeviceStatus.DeviceManufacturer+" "+DeviceStatus.DeviceName to get device name. These APIs no longer work with Windows Phone 8.1 XAML. I have…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
21
votes
1 answer

'IBM437' is not a supported encoding name from ZipFile Read Method

I have a problem when my code execute this using: using (ZipFile archive = ZipFile.Read(File)) //<== Crash Here! { foreach (ZipEntry entry in archive.Entries) { entry.Extract(UnZipFolder.Name.ToString(),…
21
votes
1 answer

Windows Phone 8.1 - Isolated Storage

I was just wondering how you deal with IsolatedStorageSettings in Windows Phone 8.1 SDK. For Example: IsolatedStorageSettings.ApplicationSettings.Contains("LocationConsent") How does this work in 8.1? As in, how do I write this statement without…
Failsafe
  • 750
  • 2
  • 7
  • 23
21
votes
3 answers

Windows Phone Silverlight 8.1 project app submission error

I submit a test Windows Phone Silverlight Project 8.1 and get this error when submit The package identity associated with this update doesn't match the uploaded appx: "2e740376-677c-4df8-b1af-95b72863f017" Windows Phone 8.0 project dont meet that…
HelloWindowsPhone
  • 680
  • 10
  • 19
20
votes
4 answers

Set StaticResource style of a control dynamically in the code

Let's say, I've got something like this (in MainPage.xaml):