Questions tagged [windows-phone-7]

Windows Phone is Microsoft's, now deprecated, mobile operating system and software development platform. Use this tag for questions specific to Version 7.x

Windows Phone is a mobile operating system developed by Microsoft, and is the successor to its Windows Mobile platform. Supported platforms for building applications for Windows Phone include Microsoft Silverlight for traditional applications and Microsoft XNA for games. This platform is no longer supported by Microsoft and should be considered obsolete.

Development on the Windows Phone platform is only supported in managed languages, using either Silverlight or XNA. With the 7.1 SDK update, Silverlight applications can be integrated with XNA.

Windows Phone 7 featured a new user interface, based upon Microsoft's Windows Phone design system, codenamed and commonly referred to as Modern UI (previous name was Metro). The home screen, called the "Start screen", is made up of "Live Tiles", which have been the inspiration for the Windows 8 live tiles.

NOTE: With the 7.1 SDK, the ID_CAP_INTEROPSERVICES capability was removed, rendering third-party support for COM interop unusable. The native (unmanaged) layer is currently only available to OEMs.

External Resources

More information

See for more information.

19662 questions
52
votes
2 answers

Parsing HTML with c#.net

I'm trying to parse the following HTML file, I'd like the get the value of key. This is being done on Silverlight for Windows phone.
Nathan
  • 2,461
  • 4
  • 37
  • 48
52
votes
8 answers

Converter With Multiple Parameters

How does one use a converter with Multiple parameters in a Windows Phone 7 Application?
Harshad Bhola
  • 622
  • 1
  • 7
  • 15
50
votes
6 answers

How to make checkbox bigger

I'm using a checkbox control like this: The thing is that…
Sly
  • 15,046
  • 12
  • 60
  • 89
49
votes
8 answers

TextBox Binding TwoWay Doesn't Update Until Focus Lost WP7

I have a page with some text boxes for data input. The binding of the text box is set to TwoWay. The data in my view model only gets updated if the text box loses focus. If I click a button, such as save, and the text box still has the focus, the…
Josh Close
  • 22,935
  • 13
  • 92
  • 140
48
votes
4 answers

Anyone have experience with architecture for cross platform WP7 Android iOS mobile development (monotouch, monodroid, C#)

This question is specifically related to a recommended architecture and people's previous experiences for cross-platform WP7, iOS, Android apps developed using C#, Monotouch and Monodroid respectively. I have researched previous questions here,…
48
votes
8 answers

Deserializing JSON array into strongly typed .NET object

When I can call the 3rd party api and get back a single class worth of data everything deserialises fine using this code TheUser me = jsonSerializer.Deserialize(response, typeof(TheUser)) as TheUser The problem comes when I try and deserialise…
Pat Long - Munkii Yebee
  • 3,592
  • 2
  • 34
  • 68
48
votes
8 answers

Check if daylight savings is in effect?

How to check if in Denmark daylight time savings has taken effect, if so, then add 1 hour to my data, else not? I have a xml file:
Megaoctane
  • 919
  • 3
  • 9
  • 10
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
44
votes
8 answers

Passing data from page to page

I'm looking for the best practice on how to pass data from page to page. In Page A I have a button that fires off Page B. On Page B I have 6 textboxes that allow the user to enter information. When the user is done, the click on a button that brings…
webdad3
  • 8,893
  • 30
  • 121
  • 223
43
votes
6 answers

How to wrap a website in a phone app?

I have seen a lot of mobile phone apps that just open a web page without the controls. Just the page. I am looking for guidance and links to start something simple like this.
EnexoOnoma
  • 8,454
  • 18
  • 94
  • 179
43
votes
3 answers

How to handle the back button on Windows Phone 7

On the windows phone 7 emulator, when the hardware back button is pressed, the default behaviour is for it to close your current application. I want to override this default behaviour so that it navigates to the previous page in my…
David_001
  • 5,703
  • 4
  • 29
  • 55
41
votes
11 answers

Xap packaging failed. Object reference not set to an instance of an object

I'm getting this error message on my PC when I try to build my Windows Phone app: Xap packaging failed. Object reference not set to an instance of an object I'm using Dropbox. On my laptop, It works perfectly fine and I can debug etc...On my PC…
Subby
  • 5,370
  • 15
  • 70
  • 125
40
votes
1 answer

What are these numbers on the right side of my Windows Phone Silverlight app?

I've got a Windows Phone Silverlight app, and there are some numbers to the right when I run the emulator: What do they mean, and how can I hide them?
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
40
votes
5 answers

Determining the Enter key is pressed in a TextBox

Consider a XAML TextBox in Win Phone 7. The goal here is that when the user presses the Enter button on the on-screen keyboard, that would kick off some logic to refresh the content on the screen. I'd like to…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
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