Questions tagged [windows-phone-8]

Windows Phone 8 is a version of Windows Phone (Oct 29, 2012 - present) that succeeds Windows Phone 7.5 and includes many new features.

Windows Phone 8 ("WP8") is a mobile operating system developed by Microsoft, and is the successor to Windows Phone 7.5. Unlike Windows Phone 7 which was based on Windows CE, Windows Phone 8 uses the Windows NT kernel found in Windows 8.

Supported development platforms include C#/VB.Net with XAML, HTML, CSS and Javascript or Typescript and C++ with Direct3D. Although XNA applications can still be developed, they can only target Windows Phone 7.5 instead of Windows Phone 8 and are kept only for legacy purposes. Windows Phone 8 also supports building Windows Phone Runtime Components and has access to APIs also present in Windows 8, making development for both platforms simultaneously easier.

Download the development tools and SDK.

New features include C++ support, Direct3D, multiple resolutions, Micro SD card, NFC, Bluetooth, Multi-core processing, In-app purchase, text-to-speech, speech-to-text, voice commands, Wallet Hub, app2app communication, new background functionality, contacts and calendar write-access, lock screen integration, new tile templates, new camera APIs, built-in maps control, and much more.

Read about what's new in the Windows Phone 8 SDK.

More information

Learning resources

Rewards

18315 questions
24
votes
3 answers

Windows Phone 8 IE10 Javascript debugging

IE10 has some wonderful enhancements in the HTML5 compliance area but remains a bear to develop JavaScript HTML5 when running on the WP8 as there is no way to debug the app except console messages. Is there a remote debugging experience available…
John Mcfetridge
  • 977
  • 1
  • 8
  • 13
23
votes
3 answers

Windows Phone 8.1 Emulator not proxying through Fiddler

I've just started looking into Win Phone 8.1 and playing with proxying some data via Fiddler from the emulator but it doesn't seem to want to play ball. All the guidance around Phone 7 and 8 (not 8.1) seems to be that the emulator will route traffic…
Troy Hunt
  • 19,719
  • 13
  • 91
  • 148
23
votes
3 answers

Converting ordinary Http Post web request with Async and Await

How I can convert my traditional HttpWebRequest "POST" call with Async / Await pattern, Here with this I am attaching my current code, Any one please help me to convert this code using Async / Await pattern for windows phone 8. public void…
Nitha Paul
  • 1,347
  • 1
  • 13
  • 29
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
  • 321
  • 1
  • 6
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
  • 15,893
  • 10
  • 51
  • 114
22
votes
11 answers

Unable to Launch Windows Phone Emulator

I am trying to run unit tests on our CI server. When i run the following command it tries to launch emulator but fails with the following message vstest.console.exe myxapfile.xap Error Message The Windows Phone Emulator wasn't able to ensure the…
22
votes
3 answers

How to use credentials in HttpClient in c#?

I am facing some problems when using the HttpClient class to access to a Delicious API. I have the following code: try { const string uriSources = "https://api.del.icio.us/v1/tags/bundles/all?private={myKey}"; using (var handler = new…
22
votes
4 answers

How to convert System.IO.Stream into an Image?

How can I convert a Stream of an image (which I retrieved using the Album.GetArt method from the MediaLibrary) into a usable Image in my application?
Newbie
  • 1,134
  • 2
  • 10
  • 22
22
votes
3 answers

HTML Linq with HtmlAgilityPack, or alternative, in PCL

I have written a project on .NET 4 and am currently in the process of allowing it to run on Windows Phone as well. I am using HtmlAgilityPack, a well known library which allows Linq queries over HTML, and am only using the LoadHtml and Linq…
21
votes
1 answer

How to use ListView in Universal Windows Platform (Windows 10 app)

Can anyone please explain ItemTemplate.DataTemplate and ListView. In this code snippet. I really don't understand the concept of Templates, it will be help full if someone might put some light on that too. I had look to this question: Metro app:…
Hemant-Webo
  • 523
  • 2
  • 7
  • 16
21
votes
3 answers

Deleting project/pages/usercontrols from memory

I have made a windows phone app, that unfortunately has some memory leak, because pages are not removed correctly. This was solved by using the answer: Remove Pages windows phone Stating: protected override void…
JTIM
  • 2,555
  • 28
  • 65
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…
21
votes
1 answer

Why does the Synchronized method always return false?

In Windows Phone 8 (only on device!) try running this code: public MainPage() { InitializeComponent(); var myTrue = GetTrue(); Debug.WriteLine(myTrue); // false } [MethodImpl(MethodImplOptions.Synchronized)] private static bool?…
Roman Golenok
  • 1,327
  • 8
  • 24
21
votes
2 answers

Windows Phone 8: How to animate page navigation?

I am new to Win Phone 8 development and after a tiresome unfruitful Googling, I am posting this simple question here: How to animate page navigation? Yes, I know how to navigate from one page to another: NavigationService.Navigate(new…
craftsman
  • 13,785
  • 17
  • 61
  • 82
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
  • 15,893
  • 10
  • 51
  • 114