Questions tagged [windows-phone]

GENERAL WINDOWS PHONE SUPPORT IS OFF-TOPIC. Windows Phone is Microsoft's mobile operating system and software development platform. Use this tag for programming questions that specifically relate to programming or debugging on a Windows Phone. Windows Phone questions that are not programming-related can be asked on https://windowsphone.stackexchange.com/

Windows Phone is a mobile operating system developed by Microsoft, and is the successor to its Windows Mobile platform.

Development Platforms

External Resources

Windows Phone guide for Android developers

Free Windows Phone Programming Book

More information

6786 questions
2
votes
5 answers

Creating desktop applications for Windows RT?

I've installed Windows Phone SDK 8.0 and there are no project types for desktop windows RT applications. How can I develop this type of applications?
Dmitry
  • 7,457
  • 12
  • 57
  • 83
2
votes
1 answer

Trial apps in Windows Phone 8

In WinPhone 8 SDK, there are two LicenseInformation classes: Microsoft.Phone.Marketplace.LicenseInformation (present since WP7.0) Windows.ApplicationModel.Store.LicenseInformation (WinRT-inspired) And two ways to initiate a full product…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
2
votes
1 answer

Can I use "PeriodicTask" and "ResourceIntensiveTask" together in one app on Windows Phone?

As the subject said, can I use PeriodicTask and ResourceIntensiveTask together in one app on Windows Phone? Example, may I have a PeriodicTask and a ResourceIntensiveTask in same time?
sunjinbo
  • 2,137
  • 4
  • 22
  • 45
2
votes
1 answer

WP8 PhoneAccentBrush doesn't affect TextBox focus border

I'm trying to make my WP7 app work well on WP8 (by compiling it as a WP8 app). In my app, I'm changing the PhoneAccentBrush's Color which seems to work fine still, however TextBox's in WP8 now seem to show a border around it when the textbox is in…
Redth
  • 5,464
  • 6
  • 34
  • 54
2
votes
3 answers

WP8 WebBrowser: inline script works, loaded doesn't

Windows Phone 8 app, WebBrowser control. I load a chunk of HTML via NavigateToString (after setting IsScriptEnabled=true). Some time later (long after it's loaded), I'm invoking some JavaScript on the page with InvokeScript. When I invoke a…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
2
votes
2 answers

Calculate height of PivotItem?

The following is a very basic layout for a Windows Phone 8 app. I've got a PivotControl with a PivotItem. The header of the PivotControl is outlined in red, while the PivotItem is outlined in green. I'm going to have a Canvas taking up 100% of the…
lhan
  • 4,585
  • 11
  • 60
  • 105
2
votes
2 answers

Intercepting traffic from WebBrowser control and supplying my own data on WP8

In my Windows Phone 8 application I have a WebBrowser control for which I would like to be able to reroute all http traffic, meaning that I intercept the http GET and supply the data from my app. Not only html but all traffic (image, etc.). I have…
2
votes
2 answers

Writing Windows Phone Runtime Components in C#?

Is it possible to write Windows Phone 8 Runtime Components in C#?
djcouchycouch
  • 12,724
  • 13
  • 69
  • 108
2
votes
1 answer

Where do XAML files that build as "Page" go?

I've added a XAML file to a Windows Phone 8 project. Its build action is "Page". I want to load the XAML as a text string (to feed into XamlReader.Load()). How can I accomplish this? It's not available as a separate file in the XAP package; it's…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
2
votes
1 answer

Windows phone draw rectangle

I am just want to draw a rectangle in windows phone canvas. I have tried some technique but each time i have failed to accomplish my job. i want to draw this rectangle and use just like in the paint application of the windows in desktop version.
faysal
  • 162
  • 2
  • 14
2
votes
2 answers

Microsoft phone application attaching a image in email

Is it possible to attach a image file in windows mobile phone application developed in 7.5? i have searched many websites but can't find any solution . please help me if there is any.I have downloaded this code …
faysal
  • 162
  • 2
  • 14
2
votes
2 answers

Porting Windows Phone 8 application to Windows 8

How much effort is required in order to port an application from Windows Phone 8 to Windows 8? Ideally, I would like to develop ONE application which can be deployed to both Windows 8 and Windows Phone 8. That seems unlikely, so instead I want the…
Niels Brinch
  • 3,033
  • 9
  • 48
  • 75
2
votes
2 answers

How to show only digit keys in keyboard windows phone 7?

I am developing a windows phone app and am new in wp7 development. I am using a text box to enter amount of a product. Only digits are allowed to enter in to that field. So my need is to display digits (0 to 9) in the keypad. How can I do this ?..…
Arun
  • 3,478
  • 8
  • 33
  • 46
2
votes
3 answers

How to highlight selected item in list box windows phone?

I am developing a windows phone application. I placed list box control in my app and displayed a list. I need to highlight the selected row with a blue color. How can I do that ?. I tried a code. But its not working. I add the code I used below.…
Arun
  • 3,478
  • 8
  • 33
  • 46
2
votes
2 answers

Sum and GroupBy

I have a table with the following fields: public int S_ID public DateTime S_Date public string S_Month public string S_Overtime public string S_WorkingTime I would like to (Orderby S_Date), (GroupBy S_Month), (SUM…
1 2 3
99
100