Similar to this question, but looking for an answer that will work in the context of an XNA game.
How can I determine whether the device is in a landscape or portrait orientation? The answer given in the general question relies upon functionality built into PhoneApplicationPage. AFAIK, you wouldn't normally be using that class within ...
Hi,
Which books would you suggest about Windows Phone 7 Development ?
Thanks.
...
Has anyone been able to communicate using WCF on Windows Phone Series 7 emulator?
I've been trying for the past two days and it's just happening for me. I can get a normal Silverlight control to work in both Silverlight 3 and Silverlight 4, but not the phone version. Here are two versions that I've tried:
Version 1 - Using Async Patter...
Most of the code I've written in .NET to make REST calls have been synchronous. Since Silverlight on Windows Phone only supports Async WebClient and HttpWebRequest calls, I was wondering what a good async pattern is for a Class that exposes methods that make REST calls.
For example, I have an app that needs to do the following.
Login ...
I have download and installed Visual Studio 2010 RC and I want to develop for the new Windows Phone 7. But when I run the vm_web.exe (that IS the name of the exe file, isn't it?), It still says that I haven't installed Silverlight 4.0 SDK, BUT I have installed the Silverlight SDK. In my control panel's menu, it says I have installed "Mic...
I am making my second application for the Windows 7 Phone Series platform and I cannot seem to connect to a SharePoint server using https.
99% of the following is not my code. I have borrowed it from http://blog.daisley-harrison.com/blog/post/Practical-Silverlight-and-SharePoint-Integration-Part-Two.aspx untill I can further understand...
I believe this is just a problem for me, due to my lack of programming ability. I am currently exploring transitions between page navigation with Windows Phone apps. I was originally using storyboards, and completed event handlers to have my pages animate on and off screen. These leads to the a problem when you want to navigate to man...
I'm trying to choose some files to upload in Windows Phone 7 (in the emulator), and any attempt to ShowDialog of the OpenFileDialog leads to a Security Exception. The open file dialog is being called from an event on a button click but I get a
SecurityException
[FileDialog_ActiveScripting]
Arguments:
Debugging resource strings are una...
Hi,
I have downloaded the Visual Studio 2010 CTP along with Phone 7 emulator, but am finding writing code a little counter intuative (coming from a c++ background). Can someone direct me to some good intermediate-level resources / tutorials?
...
Hello everyone. I am very new at all this c# Windows Phone programming, so this is most probably a dumb question, but I need to know anywho...
IsolatedStorageSettings appSettings =
IsolatedStorageSettings.ApplicationSettings;
if (!appSettings.Contains("isFirstRun"))
{
firstrunChe...
Is there any support for TCP/IP Sockets in Windows Phone 7? I'm not having any luck finding it so far.
I want to connect to a port on a server and issue commands/receive responses
...
Does anyone know if it is possible to load a windows phone 7 XAP file into the emulator without the solution or source files? In other words, can I send somebody just a XAP file so that they can test my app, without giving them the full source code?
...
Hi
Can anyone tell me what I've done wrong with this simple code?
When I run it it hangs on
using (Stream postStream = request.EndGetRequestStream(asynchronousResult))
If I comment out the requestState.Wait.WaitOne(); line the code executes correctly but obviously doesn't wait for the response. I'm guessing the the call to EndGetReque...
Is it possible to use Windows phone 7's camera in Silverlight in ANY way?
...
The regular .Net framework contains HttpUtility.UrlEncode in the System.Web Assembly and in Silverlight it appears it was moved to System.Windows.Browser. But in Windows Phone 7 (which I thought was the same as Silverlight) I can't seem to find a proper way to UrlEncode anything. Neither of the previously mentioned assemblies are availab...
Hi,
I was watching MIX session. Presenter there was refering "Panoramic experience" in windows phone. Is a ready-to-use control available anywhere or even beter in silverlight 4 itself?
...
Hello,
I have developed a test service with WCF, which I try to consume from a Windows Phone 7 Application, however when calling a method from the service I get a weird exception:
There was no endpoint listening at
https://server/Service.svc that could
accept the message. This is often
caused by an incorrect address or SOAP
...
If there a way to display a normal Notification/Toast/Popup in Windows Phone 7, which is not a Push Notification?
All I want to do is to be able to give the user a message when something occurs...
...
How do I programatically get the screen resolution on WP7? Here are a bunch of links that get the same job done in desktop WPF and Silverlight, but none of them are in the Phone SDK.
Any ideas?
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/f0639904-a368-44db-9ddd-efcaf8fc736e
http://social.msdn.microsoft.com/...