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
20
votes
3 answers

ArgumentException - Use of undefined keyword value 1 for event TaskScheduled in async

Getting System.ArgumentException - Use of undefined keyword value 1 for event TaskScheduled in async apis. There is something wrong when running the first await statement in an Universal app with Visual Studio 2013 Update 3. I am using WP8.1…
Carlos A
  • 231
  • 2
  • 6
20
votes
2 answers

Get device screen resolution in Windows Phone 8.1 XAML

In Windows Phone 8 I can get the screen resolution using DeviceExtendedProperties or Application.Current.Host.Content.ScaleFactor. None of this works in Windows Phone 8.1 XAML. I could not find a way how to get the screen resolution in Windows Phone…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
20
votes
1 answer

Add a NuGet reference in a Windows Universal Shared Project

I'm trying to make a Universal App (Windows 8.1 & Windows Phone 8.1) and i need to deserialize Json with Json.NET library. But i can't add a NuGet or dll reference to my Shared Project, i can do this only in Windows 8.1 and Windows Phone 8.1…
alvinmeimoun
  • 1,472
  • 1
  • 19
  • 38
20
votes
5 answers

font size scaling in Windows Store Universal App (W8.1 + WP8.1)

How do i scale text in Windows Store Universal App (W8.1 + WP8.1)? Basically, the app should look the same regardless which device/resolution is used. The current situation is that layout (dynamic grid based layout) and images scale well except of…
20
votes
2 answers

How to localize the display name of an app for the Windows Store?

I registered a German and an English name for my Windows 8 app in the Windows Store Dashboard. Afterwards I created two files in my solution: Strings/de/Resources.resw with name "AppName" and value "German Title" Strings/en/Resources.resw with name…
Benny Code
  • 51,456
  • 28
  • 233
  • 198
19
votes
1 answer

Failed to send certificate after upgrading to latest windows phone 8.1

I have a Windows Phone App, built for 8.1, and one of the tasks was a client-server certificate scenario. My app worked fine, I could send the client certificate and login to the server. However after upgrading to windows 8.10.14xxxx that was not…
19
votes
3 answers

Windows Phone 8.1 - Handle WebView vertical scroll by outer ScrollViewer element

Problem I have to show a WebView inside a ScrollViewer in Windows Phone 8.1 application, with the following requirements: WebView height should be adjusted based on its content. WebView vertical scroll should be handled by an outer…
danyloid
  • 1,677
  • 3
  • 21
  • 47
18
votes
3 answers

Photo capture on Windows Store App for Windows Phone

Well, my question is simple: How do I capture pictures with a Windows Store App for Windows Phone 8.1, using the camera? The samples on MSDN use Windows.Media.Capture.CameraCaptureUI, which is not usable on Windows Phone, or are for Silverlight. I…
GlorfSf
  • 370
  • 1
  • 2
  • 12
17
votes
3 answers

c# does not contain a definition for "InitializeComponent" and name "controlName" does not exist in current context

I've been developing a windows phone app in a team since June. Everything worked fine with all the syncs until today. I synced the project and vs started giving me the errors "WindowsPhoneApp.MainPage" does not contain a definition for…
Usr
  • 2,628
  • 10
  • 51
  • 91
17
votes
2 answers

returning a false when got 400 status of webservice in JSON

In my codebehind file I call this function: private void loginAction(object sender, TappedRoutedEventArgs e) { Webservice webservice = new Webservice(); webservice.getUser(txtLogin.Text, txtPass.Text); } Then in webservice I do this: public…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
17
votes
1 answer

XHR responseType "ms-stream" failing on IE Mobile/Windows Phone 8.1

I'm trying to stream a large amount of binary data in JavaScript, accessing the data before the download completes. In most mainstream browsers, I can use the charset=x-user-defined trick to manually get the raw byte data during the progress…
Andy E
  • 338,112
  • 86
  • 474
  • 445
17
votes
3 answers

Difference between Windows Phone 8.1 and Windows Phone Silverlight 8.1

I was reading about Windows Phone 8.1 Development, because I already work with Windows Phone 8 and I intend to start working with the new OS version. Then I downloaded the Visual Studio for Windows with update 4, opened one project of mine (target…
17
votes
2 answers

Convert an IBuffer to a byte array in Windows Phone 8.1, how?

I'm writing an application for Windows Phone 8.1. I need to save an UIElement as an image file (I'd prefer JPG or PNG). I'm using RenderTargetBitmap class to do this. After calling the method RenderAsync on my UIElement I create an IBuffer that…
DarioDP
  • 627
  • 2
  • 9
  • 24
16
votes
1 answer

Onedrive API vs LiveSDK

I am developing for WP8.1 and probably will port on other platforms. I want to integrate a OneDrive functionality, however, I can't understand what is the difference between LiveSDK (from NuGet packages) and OneDrive API. It seems that Microsoft…
Jean
  • 4,911
  • 3
  • 29
  • 50
16
votes
3 answers

Can't set Content-Type header

I'm having trouble setting the Content-Type on HttpClient. I followed along this question: How do you set the Content-Type header for an HttpClient request? But still no luck. String rcString = JsonConvert.SerializeObject(new RoadsmartChecks() {…
timr
  • 6,668
  • 7
  • 47
  • 79