Hello.
I'm developing a Windows Phone application.
I have defined this on App.xaml:
<nav:UriMapping Uri="/Destinations" MappedUri="/Views/Tourism/Common.xaml?Type=1"/>
<nav:UriMapping Uri="/Points" MappedUri="/Views/Tourism/Common.xaml?Type=2"/>
When the user is on Points, and I do the following:
NavigationService.Navigate(new Uri(...
I try to install latest Visual Studio Windows Phone Beta Tools and I get following error:
"Setup could not install the following component:
Microsoft .NET Framework 4"
Here is the error log: http://pastebin.com/CRumcpsN . I'm running under Windows 7 32bit.
What I have to do to install Visual Studio Windows Phone Beta Tools?
...
Hello.
I'm developing a Windows Phone application.
I have a phone page with a big textblock and a picture inside on a stackpanel. Because the textblock is big the picture isn't visible. I set VerticalScrollBarVisibility="Visible" on stackpanel but I can't see the picture.
How can I use a scrollbar to see the content bellow the textblo...
Hey guys, the following tutorial shows how to take the text from a text box and display it in a text block when the user hits a button. Simple enough... but what I want to do is instead of hitting a button that adds the text I want the enter button to do it.
Searching here, I found the following code but it doesn't seem to do anything.
...
Hey there,
In Windows Phone 7 (Silverlight), when I use the back button to return to the previous page, the page title does not update and remains the same as the page that was just left. The actual text is bound to a string in a viewmodel, nothing special there. Here is the line of xaml.
<TextBlock x:Name="CategoryPageTitle" Text="{Bi...
I'm considering developing apps for Android and Windows Phone 7 that allow the user to read content from an online producer (newspaper/magazine/blogs etc). This provider has a REST API that should allow for straightforward access to the content. A few questions I have:
I saw an OData demo, where getting data from a feed was super easy,...
I tried out to create a little test application.
My goal is to access to a database with a wcf service, have class library for data objects and use this library for the ASP.Net webpage and for the Windows Phone 7.
Is this possible? My current problem is to create a library which I can use for WP7 and my WCF service. It's not possible...
I have a very simple test app just to play around with Windows Phone 7. I've just added a TextBox and a TextBlock to the standard UI template. The only custom code is the following:
public partial class MainPage : PhoneApplicationPage
{
public MainPage()
{
InitializeComponent();
}
private int counter = 0;
p...
I'm developing a phone app and need a modal dialog with some "rich" content - a few text boxes and a drop down. OK, not very rich but more than a MessageBox. :>
In regular Silverlight I know there's the ChildWindow control - but can't find the equivalent in Phone 7.
How have other folks done rich popup dialogs on the phone?
Thanks!...
I have a HyperlinkButton in a ListBox, the latter being bound to a list of items. I want the HyperLinkButton's Uri to be bound in this sort of fashion:
NavigateUri="/some/url.xaml?tag={Binding}"
Which obviously doesn't work, but you get the idea. Does anyone have a nice workaround for this? Preferably something compatible with WP7. Th...
Is there a work-around to get the details of a contact in the Phone's contacts?
With the api you can only access the email and phonenumber but that is definitely not enough.
...
I'm trying to retrieve an XML document from a server and store it locally as a string. In desktop .Net I didn't need to, I just did:
string xmlFilePath = "https://myip/";
XDocument xDoc = XDocument.Load(xmlFilePath);
However on WP7 this returns:
Cannot open 'serveraddress'. The Uri parameter must be a relative path po...
ok, so apparently xna games can only run at 30fps, which is a shame, because our game on iphone looked alot better at 60...
at any rate, because the only way you can get information about the touch screen state is to get its current state, effectively this means you can only sample the touch screen at 30 fps.
even if our game has to ru...
I'm writing a number of WP7 apps right now that need absolute sizing, depending on display device. What this means that the app size needs to be 656 (w) by 480 (h), which is perfect for WP7 with both shell:SystemTray.IsVisible="True" and shell:ApplicationBar IsVisible="True". From a possible 800 x 480, both those bars used take 144, so ...
I am trying to debug my Windows Phone 7 app, and I am getting the following error upon launching the app in the emulator (via VS2010 debug):
Unable to start program
'\Windows\tashost.exe\'
The drive cannot locate a specific area or track.
Any ideas as what may be causing this? The most recent change I made was adding functional...
Hi,
I have the following XAML (simple list box with custom DataTemplate). I'm trying to figure out how to highlight the selected item (maybe background colour change). I figure I need to do something with Styles in Expression Blend but I'm not quite sure where to start...
Edit: After a bit of playing around I now have this (which doesn't...
This seems like a really, really simple problem, but I can't figure it out. The culprit appears to be WP7's default style. It changes the background color to white when a button is clicked, then back to the button's default background.
The problem I have is I want to change the button's background when the button is clicked. I can't fin...
As part of my first WP7 app, I'm giving the user configuration options to alert them to the completion of a task: currently I have the option to vibrate the phone, but I would like to 'flash' the screen my inverting the colours and back again.
However, I can't figure out how to invert the screen colours. Is this possible?
...
I'm playing around with wp7 using the emulator. I'd like to play with multitouch on the emulator, but my machine doesn't have multi touch support (it's just a standard mouse/keyboard setup).
Is their any way to do this?
I know that double clicking zooms/unzooms, but I'm looking for pinch-specific interaction.
...
I am wondering if the windows 7 phone sdk comes with a marque progress bar? As far I can tell is that there is no marque styles so at the moment i just have a timer that updates the progress bar to emulate the style.
...