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
25
votes
2 answers

How to get current page in my WP7 app

Is there a way to get the active instance of the current page in my Windows Phone 7 app? I have been reading documentation and trying to figure it out to no avail. In my example I am running a global loop which calls a public method of the active…
andersra
  • 1,103
  • 2
  • 13
  • 33
25
votes
1 answer

Can't use dispatcher on WP7

I was looking around for refrences using dispatcher to call code on the UI thread and they say to do this: Dispatcher.BeginInvoke(() => {OnSendSuccessful(); }); But I get a compiler error saying I cant access non-static method BeginInvoke in a…
deanvmc
  • 5,957
  • 6
  • 38
  • 68
24
votes
6 answers

WebClient does not support concurrent I/O operations

How can I get this error from with in the DownloadStringCompleted Event? Doesn't that mean, it's finished? Is there another event I can fire this from? I get this error extremely rarely, but once in a while it will happen on my WP7 phone. I have a…
firebellys
  • 906
  • 2
  • 11
  • 26
24
votes
1 answer

the property content is set more than once

I am getting the following error with my code shown below. Error: The property 'Content' is set more than once Code:
John Smith
  • 609
  • 2
  • 7
  • 9
24
votes
3 answers

How to use String in WebClient.DownloadStringAsync URL

I currently have this for my WebClient URL: WebClient Detail = new WebClient(); Detail.DownloadStringCompleted += new DownloadStringCompletedEventHandler(Detail_DownloadStringCompleted); Detail.DownloadStringAsync(new…
Rhys
  • 2,807
  • 8
  • 46
  • 68
24
votes
8 answers

Targeting/Developing for multiple mobile platforms with one programming language (C#)? Cost-Benefit?

Today it is possible to use C# programming for multiple mobile platforms such as: WindowPhone7 Android - Monodroid iPhone - Monotouch (feel free to edit if I missed some) Of course, it is still programming effort for UI, but main libraries of app…
nemke
  • 2,440
  • 3
  • 37
  • 57
24
votes
3 answers

What are the RGB values of the default accent colors in Windows Phone 7?

I am making icons for some Win Phone 7 apps and want to use some solid colors the way all the other apps do. Where can I find a reference for these colors?
Frank Krueger
  • 69,552
  • 46
  • 163
  • 208
23
votes
3 answers

Difference between Panorama and Pivot Control

What is the difference between the winphone 7 Panorama and Pivot Controls? To me they seem very similar, apart from the slightly different visual appearance. In which situations should one or the other be used?
thumbmunkeys
  • 20,606
  • 8
  • 62
  • 110
23
votes
5 answers

WP7: Pass parameter to new page?

In a Windows Phone 7 Silverlight application I call a new page using NavigationService.Navigate(new Uri("/View/SecondPage.xaml", UriKind.Relative)); Now I want to pass parameters to the new page. I understand a simple parameter can be passed…
Sam
  • 28,421
  • 49
  • 167
  • 247
23
votes
11 answers

How to get app version in Windows Phone?

In C# one can use System.Version.Assembly to get the version of a running app. However this doesn't appear to exist in Silverlight for Windows Phone. Is there an alternative?
henry
  • 1,716
  • 3
  • 15
  • 27
23
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
  • 543
  • 2
  • 7
  • 16
23
votes
2 answers

Is there a timer control for Windows Phone 7?

I'm trying to write a win phone 7 app for the first time - is there a timer control similar to the one for winforms? Or is there a way to get that type of functionality?
Nils
  • 1,237
  • 3
  • 11
  • 28
23
votes
11 answers

Resources for Windows Phone 7 development

Windows Phone 7 has been unveiled and MS have announced all details of the development chain at the Mix10 conference. So this could be a good starting point/collection of online resources as they appear EDIT: I've removed the speculation tag now…
geocoin
  • 1,281
  • 1
  • 14
  • 30
23
votes
2 answers

How to Line Break or new line in XAML

I am having hard time to match Special characters set in XAML. I only on the following: To represent a LineBreak in XAML hyperlink button: use : > lineBreak < But What do I use to represent a New Line or LineBreak In XAML hyperlink button?? Example…
Rizwan Qureshi
  • 594
  • 2
  • 8
  • 20
23
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…