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
31
votes
5 answers

How can I use async/await to call a webservice?

I have a webservice written in Yii (php framework). I use C# and Visual Studio 2012 to develop a WP8 application. I added a service reference to my project (Add Service Reference). So I am able to use webservice functions. client = new…
MPeli
  • 570
  • 1
  • 8
  • 19
30
votes
5 answers

Developing a 2D Game for Windows Phone 8

I would like to develop a 2D game for Windows Phone 8. I am a professional Application Developer by day and this seems like a fun hobby. But I have been disapointed trying to get going. It seems that 2D games (far and away the majority of games)…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
29
votes
5 answers

Deploying to Windows Phone 10 fails on Visual Studio

So many things happened that I don't know where to start. Seriously, shouldn't this be simpler? Edit: Someone here knows how can I contact Microsoft to tell this? Or even, can someone tell them about this problem? I have the last Windows 10 desktop…
29
votes
2 answers

How do I deserialize an array of enum using Json.Net?

I have a JSON like this: [{ "agencyId": "myCity", "road": { "note": "", "lat": "45.321", "lon": "12.21", "streetCode": "290", "street": "street1", "fromNumber": "", "toNumber": "", …
panizza
  • 325
  • 1
  • 3
  • 6
29
votes
4 answers

How to Deserialize JSON data?

I am new to working with JSON data. I am reading data from a web service. The query data sent back is the following: [["B02001_001E","NAME","state"], ["4712651","Alabama","01"], ["691189","Alaska","02"], ["6246816","Arizona","04"], …
eitan barazani
  • 1,123
  • 3
  • 18
  • 34
28
votes
1 answer

StorageFile 50 times slower than IsolatedStorageFile

I was just benchmarking multiple algorithms to find the fastest way to load all data in my app when I discovered that the WP7 version of my app running on my Lumia 920 loads the data 2 times as fast as the WP8 version running on the same device. I…
27
votes
15 answers

Windows Phone emulator not starting (couldn`t setup the UDP port)

After updating Windows 10 to build 10061 windows phone emulators (all 8.1 and 10) stopped starting. I get the following error: "Windows Phone Emulator is unable to connect to the Windows Phone operating system. Couldn`t setup the UDP port" I tried…
27
votes
2 answers

XAML UserControl inheritance

Coming from Java, I'm really used to a common practice when it comes to make GUI components: I usually do some sort of base class which contains all the common objects for my GUI components and then I extend it. So, basically, this is what I'd like…
StepTNT
  • 3,867
  • 7
  • 41
  • 82
27
votes
3 answers

Xaml TextBlock set round corner

I am trying to set rounded corner of TextBlock in xaml. But there is no such property.
Ajay
  • 6,418
  • 18
  • 79
  • 130
27
votes
3 answers

Why do I get an OutOfMemoryException when I have images in my ListBox?

I want to display all images stored in the Windows Phone 8 photo folder in my custom gallery which uses a ListBox for displaying the images. The ListBox code is as follows:
Hyndrix
  • 4,282
  • 7
  • 41
  • 82
26
votes
3 answers

Windows Phone deploy Issue

I have a strange issue that I can not seem to find any record of but it has now happened to me on two separate machines! I am building Windows Phone 8.1 apps and testing them on a physical device. This works fine for a time until at some point with…
Carl
  • 548
  • 1
  • 4
  • 21
26
votes
3 answers

Windows Phone 8 template in Visual Studio 2013 Preview

I am running Windows 8 x64 and have Visual Studio 2012 with the latest update and Visual Studio 2013 preview (latest update) installed. I also have the Windows Phone SDK for Windows Phone 8 development on Visual Studio 2012. I have read somewhere…
JP Hellemons
  • 5,977
  • 11
  • 63
  • 128
26
votes
3 answers

Checking if a DateTime is before DateTime.Now

How can I check using some form of if statement if a certain DateTime, (say in this case called dateAndTime1) is before the current date and time, which I presume will be retrieved using DateTime.Now?
Newbie
  • 1,160
  • 2
  • 11
  • 24
26
votes
3 answers

Windows Phone 8 Startscreen Tile sizes and margins

I was wondering if someone knows the exact measurements of the new Windows Phone 8 Startscreen (for 480x800), i.e. margins (top, left & right, between tiles) and the edge length of all three different tile sizes.
Thomas
  • 4,030
  • 4
  • 40
  • 79
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
  • 1,167
  • 1
  • 10
  • 15