I recently started using the updated beta tools for Windows Phone 7 and ran into an interesting problem. It seems that with Fiddler running, any Http requests run through the emulator start returning a null result and create a "not found" web exception. This is easy to reproduce with WebClient.DownloadStringAsync(). The old versions o...
I'm using Microsoft Windows Phone 7 Tools Beta.
I have a custom control that lives in it's own project with the following code:
public class ValidationTextBox : TextBox
{
public ValidationTextBox()
{
DefaultStyleKey = typeof(ValidationTextBox);
}
}
Then my WP7 App contains the following style in th...
Is there a way to use MVVM Light to handle application events like Closed, Deactivated, Activated, etc?
...
Hello,
I just downloaded one sample from this link :-
http://msdn.microsoft.com/en-us/library/ff431744%28v=VS.92%29.aspx
But when i try to run in my Visual Studio 2010 i get some error as This type of project is not supported in Visual Studio 2010
Why am i getting this error?
...
Working with a listbox in windows phone 7 I am trying to make an async web service call then update the listbox on success.
The method that calls the webservice looks like this:
public void GetReadingList(Action<ObservableCollection<MiniStoryViewModel>> success, Action<string> failure)
I am calling the method with this code:
...
I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
...
Just a quick question.
I have noticed that there are some missing things to the .NET framework in windows-phone-7. For instance, the library "System.Servicemodel.Syndication".
Is there a reason for this? And is there an easy way to get it back?
Thanks
...
I have been playing with the latest templates (patched for Beta tools) and application life cycle. When I was looking for a place to initialize the DispatchHelper, I noticed that the Application_Launching event handler was being executed AFTER the MainViewModel constructor has executed. Is this the expected behavior?
...
This is the weirdest thing I've seen in a long time...
I have a simple application that makes some JSON calls to a server and processes the results, this takes a little while so I was planning to add a progress bar to indicate that something is happening.
This all works fine if I leave IsIndeterminate="False" however when I set it to Tru...
Is there any way I can use the .net task parallel library that was included in the Rx extensions for .net 3.5 SP1 in xna 3.1 for xbox 360? Or, alternatively, to use the Rx extensions themselves? The assemblies installed by .net 3.5 SP1 Rx extensions installer do not appear to be compatible with the .net compact framework.
Or, if not pos...
There are a few issues I notice with the beta version of the WP7 tools:
The ApplicationBar no longer causes a page to resize it contents with the CTP workaround
Using the ApplicationBar from App.xaml and imported as a static resource does not work as expected
In the CTP version of the WP7 tools when using an appbar and navigation fro...
am trying to figure out a way for my ViewModel to handle saving or restore the page's state when the page is navigated From or To.
The first thing I tried was to add an EventToCommand behavior to the page, but the events (OnNavigatedFrom and OnNavigatedTo) are declared protected and the EventToCommand does not see the events to bind to....
I'm creating a simple messaging system for a windows phone silverlight app.
The idea is various xaml pages & other objects will subscribe to a messaging object, passing in the type of message they want to recieve/handle and an Action<> Delegate as the handler.
When an action happens a message (with payload) will be sent to the correct ...
The following code works for stretching the child Grid within the ListBoxItem in Silverlight 3, but not in Windows Phone 7. Is this a bug or am I doing something wrong? No matter what element I put in the ListBoxItem, it never grows to the size of the ListBoxItem, only to the size of its own content. My end goal is to get the text to ali...
I want to have control like standart Windows Phone 7 background selector in the settings. It's like ComboBox. But i don't see any existed control like this.
...
Hello, I have a singleton timer in my WP7 application however I have no idea how to get it to update a textblock everytime the timer ticks... Is there a way to get the event handler of the timer ticking and then update the textbox with the correct time?
Here is what I tried to use but wouldn't work:
public _1()
{
Initializ...
The built-in emulator from the WP7 Tools doesn't have the Bing App installed, and I don't have any phone hardware to test with. So I'm simply wondering, how can I open the Bing Maps Application to a specific Lat/Long?
Related Questions:
iPhone -- http://stackoverflow.com/questions/30058/how-can-i-launch-the-google-maps-iphone-applicati...
Has anyone implemented Tap & Hold in a Windows Phone 7 App yet? I can see a couple of possible approaches KeyDown/KeyUp and a timer or ManipulationStarted/manipulationCompleted and a timer.
However it strikes me that this is a less than idea approach because different apps would have different timer settings leading to inconsistency.
Am ...
How can I open new email programatically in Windows Phone 7? I found only solution with using WebBrowser control and using it Navigate method with "mailto" syntax. Is any better approach?
...
Hello.
I'm developing a Windows Phone application. I make the question here because I think a silverlight question.
I have defined the following Navigations URIs on App.xaml:
<!-- Navigation links-->
<nav:UriMapper x:Name="UriMapper">
<nav:UriMapper.UriMappings>
<nav:UriMapping Uri="/Destination" MappedUri="/Views/Tourism/...