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
16
votes
1 answer

How to set time out for http client request operation in windows phone 8.1/Windows 8.1

How to set Timeout property to Windows.Web.Http.HttpClient operation. The code sample I used is below. public HttpClient httpClient; public CancellationTokenSource cts; public void SendRequest(addressUri,postrequestbody) { …
asitis
  • 3,023
  • 1
  • 31
  • 55
16
votes
1 answer

WP 8.1 Runtime code to make phone call, send SMS & send Email (not the Silverlight 8.1)

I'm writing an app which will make a phone call, send sms or email just like the People app in wp 8.1 . So far I've found a link form msdn which said "Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1". So here the code:from this…
truongnm
  • 2,311
  • 2
  • 31
  • 48
16
votes
3 answers

Error : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) when trying to register a background task windows phone 8.1

When i trying to register a background task in windows phone 8.1 insted of this sample http://code.msdn.microsoft.com/windowsapps/Tile-Update-every-minute-68dbbbff i got this error : Class not registered (Exception from HRESULT: 0x80040154…
Muhamed AlGhzawi
  • 752
  • 1
  • 8
  • 13
15
votes
5 answers

Failed to add reference. User canceled out of save dialog (OLE_E_PROMPSAVECANCELLED)

I cannot add a solution reference to a portable class library to my Windows Phone 8.0 apps in Visual Studio 2012. When I try to add it by browsing to the .DLL, then it works. I receive this error when I try: I am able to add a reference to the…
jeremyr
  • 456
  • 1
  • 3
  • 12
15
votes
3 answers

.net WP8.1/Win10 UWP: Namespace for MapControl not found in Visual Studio Designer

Edit: the described issue below occurs also in a Win 10 UWP application (VS2015, Win10) when using the MapControl. I have a weird problem using the MapControl in a Windows Phone 8.1 (universal app) application. After adding the control to a page,…
15
votes
2 answers

Upgrading wp8 to wp8.1 silverlight, debugger cannot be launched

I have now had an error with VS2013 and WP8.1 silverlight for a couple of days. I get a couple of different errors, ..Ensure unlocked screen.., AgHost.exe could not be launched, port is in use by another program and ensure the device is…
JTIM
  • 2,774
  • 1
  • 34
  • 74
15
votes
2 answers

How to reset a DispatcherTimer?

Those are my declarations and methods of DispatcherTimer: private DispatcherTimer DishTimer; private TimeSpan SpanTime; private void InitTimer() { DishTimer = new DispatcherTimer(); DishTimer.Interval = new TimeSpan(0, 0, 0, 1); …
kazama
  • 211
  • 1
  • 2
  • 10
15
votes
4 answers

MissingManifestResourceException on Windows Phone 8.1 with .resx resources

I'm developing a Windows Phone 8.1 app that also targets Android(Xamarin) As ever I added my string resources(.resx) on a PCL and referenced them on my launcher project to use it on my views, this all works fine on WP 8.1 silverlight but on the…
15
votes
1 answer

WP SilverLight 8.1 vs WP 8.1 (XAML) pros and cons

I have been reading that Wp8.1 (XAML) apps are the new way of creating apps for Windows Phone 8.1, and the code is highly reusable for Windows 8.1 Desktop apps. But im a bit worried since performing a single search from the Contacts (ContactManager…
Arys
  • 477
  • 3
  • 12
15
votes
3 answers

Windows Phone 8.1 XAML StringFormat

I am trying to display some text along with binded data, for example, I have the code: I want to add some text before 'Shorthand', from what I have read…
blawford
  • 435
  • 5
  • 18
15
votes
3 answers

Where can I find files saved in ApplicationData.Current.LocalFolder while developing a Windows Phone 8.1 app?

To my understanding, WinRT apps store their application data in C:\Users\{user}\AppData\Local\Packages My Windows Phone 8.1 application seems to have its own folder there as well, with an odd name…
Jedidja
  • 16,610
  • 17
  • 73
  • 112
15
votes
3 answers

How can i add AppBar in Windows Phone 8.1

In windows phone 8, its very easy to add an App Bar and manage it, but now i test new windows phone 8.1 SDK to build a project with new Geofencing feature but i don't know how to add an App Bar in the App.
user3540944
14
votes
3 answers

Position of ItemClick event on a ListView Windows Phone 8.1

I have a ListView which shows the products in a shopping cart. The datatemplate defines an increment and a decrement amount button for each product. If the user wants to tap one of these buttons, there's a chance that they tap next to the button,…
WPMed
  • 1,414
  • 1
  • 13
  • 25
14
votes
1 answer

Problems with Windows Phone 8.1 emulator

I am having really difficult time to cope up with the windows phone emulator. My ultimate goal is to deploy my application and sniff http requests through fiddler. I am on Visual Studio 2013 Update 4 on Windows 8.1 Problems which i face Sometimes…
14
votes
1 answer

PUSH not showing when App is open

My application receives push notifications well when the application is closed. But when the app is running, I get nothing. This is the same code that I have used in previous apps with out any problems, those were on WindowsPhone8 and the new apps…
Seige
  • 304
  • 5
  • 27