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

18215 questions
47
votes
9 answers

Get Unique Device ID (UDID) under Windows Phone 8

Is there any unique device ID (UDID) or any similar ID I can read out on Windows Phone 8 (WP8) that doesn't change with hardware changes, app-reinstallation etc.? In older Windows Phone versions there were such IDs: WP7: Device Status for Windows…
flexo
  • 1,120
  • 1
  • 9
  • 14
46
votes
6 answers

Disable web page navigation on swipe(back and forward)

On a Windows phone, in IE users can go back and forward by swiping on the screen if the swipe is coming from the edge. This OS level functionality is hampering my webpage's UX. Is there any js or css which can disable that? Some hack would also…
45
votes
6 answers

Can't uninstall/reinstall NuGet package

I've set up my project with Visual Studio Express 2012, added some C# code, and successfully compiled/deployed to emulator. At some point I decided I want to do something with JSON, and I found that I should use the Json.NET framework, which is…
user826955
  • 3,137
  • 2
  • 30
  • 71
44
votes
14 answers

Windows Phone 8 emulator can't connect to the internet

I have Windows 8 installed inside of an emulator, and the new WP8 SDK installed on it. My problem is that the emulator can't connect to the internet. I don't have any proxy, and even disabled the firewall. It still doesn't seem to work though. When…
39
votes
2 answers

WP7 Application Bar Icons not showing on Simulator (but works in Blend)

It is most probably a stupid mistake, but can anyone tell me why my icons are showing in Blend, but not in the simulator (and not in VS10, but that's not really an issue)? Edit - Here is my XAML :
Thomas Joulin
  • 6,590
  • 9
  • 53
  • 88
39
votes
6 answers

HttpClient retrieve all headers

Currently, I am working on API wrapper. If I send a bad Consumer Key, the server will return Status as 403 Forbidden in the header. It will also pass custom headers. How do I actually retrieve these custom headers? This is the response receive from…
Shulhi Sapli
  • 2,286
  • 3
  • 21
  • 31
39
votes
12 answers

Unable to create the virtual machine

I was so happy today that I have been finally able to install Windows Phone 8 SDK and try it a bit. I installed fresh new installation of Windows 8 Pro into my virtual machine (I am running if from Parallels) and then installed Windows Phone 8…
Martin Macak
  • 3,507
  • 2
  • 30
  • 54
38
votes
7 answers

Visual Studio 2013 stopped showing variable values when debugging

In a particular project I recently started the debugger started acting funny. When I'm debugging and it is paused at a breakpoint, Data Tips don't show up, some of the variable values don't show up in the Locals and Autos windows, and there are some…
SonofNun
  • 467
  • 1
  • 4
  • 11
38
votes
10 answers

The name 'InitializeComponent' does not exist in the current context. Cannot get any help on net searches

Hi I am getting an error of InitializeComponent in my app.xaml.cs page I have checked the net and everything but no solution works. Please help. InitializeComponent does not exist C# file: using System; using System.Collections.Generic; using…
nik
  • 576
  • 2
  • 7
  • 14
37
votes
4 answers

Windows Phone 8.1 - Page Navigation

Coming from Windows Phone 8 I have never thought there will be a lot of changes done to the Windows Phone 8.1 code. Basically I'm just wondering how to do page navigation just like how you would do it on Windows Phone 8. To do that you should…
Ahmed.C
  • 487
  • 1
  • 6
  • 17
36
votes
6 answers

LongListSelector: Item tap?

I am using LongListSelector control on Windows Phone 8 and can't figure out the best way to handle a tap on an item. The few examples I've found rely on the SelectionChanged event. However, this solution is buggy because if I tap an item that opens…
Tom Esterez
  • 21,567
  • 8
  • 39
  • 44
33
votes
5 answers

Adding authorization to the headers

I have the following code: ... AuthenticationHeaderValue authHeaders = new AuthenticationHeaderValue("OAuth2", Contract.AccessToken); string result = await PostRequest.AuthenticatedGetData(fullUrl, null, authHeaders); return result; ... public…
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
32
votes
1 answer

Attach to multiple events with Caliburn.Micro

I am working on a Windows Phone 8 project with Caliburn.Micro and I want to attach to 2 separate events on the same button. What is the syntax for doing this? I have tried a few combinations of the below but keep getting an error from Caliburn…
dkarzon
  • 7,868
  • 9
  • 48
  • 61
32
votes
3 answers

Properly handling HttpClient exceptions within async / await

I was hoping somebody could enlighten me a little bit on an issue I am facing in regards to async/await exception handling with HttpClient. I have written some code to illustrate, and it is being excecuted on both a Windows Phone 8 device and the…
Nils Holtar
  • 323
  • 1
  • 3
  • 4
31
votes
2 answers

Cannot assign method group to an implicitly-typed local variable

I have this error "Cannot assign method group to an implicitly-typed local variable" in this code private async void Button_Click_2(object sender, RoutedEventArgs e) { var frenchvoice = InstalledVoices.All.Where(voice =>…
XXXX
  • 319
  • 1
  • 3
  • 3