Hi All,
I've noticed that in the Phone 7 Beta emulator there is a settings application. It contains an "applications" panel. This seems to imply that we should be writing settings plugins so that settings for all apps are managed centrally, similarly to how the iPhone settings work.
Does anyone know how we write/register these plugins?...
I am building a WP7 client app that talk to a web service (SOAP like) using Mvvm-Light.
I have a ViewModel that both implements INotifyPropertyChanged and calls RaisePropertryChanged with the broadcast flag set.
Both my view (XAML) and my model (which does HTTP requests to the web service) subscribe to property changes. XAML, obviou...
Hi everyone,
With the arrival of WP7, I developed a solution to business appointments. And I wonder about the architecture. My Silverlight application needs to communicate with web services, no problem here.
By cons, I have another need that is a push to notify phones with the Microsoft Notification Push Service. My problem is how to h...
How can I get the current GPS coordinates on Windows Phone 7?
...
I have started using the Windows Phone 7 Panorama & Pivot Controls for a Windows Phone 7 application. In an OnNavigatedTo event, I'm trying to select which PivotItem to start the new View on. All SelectedItem and SelectedIndex seem to do is select the header. The content of the PivotItem is not shown and while the header is selected the ...
How can I detect network connectivity in Windows Phone 7? Is there a simple API for that?
...
hey,
I'm developing a WP7 app and needs to change the icon of a button on the application bar given the state of a request.
I have tried:
if (App.Servers[index].ServerState == "Enabled")
{
DetailsAppBar.btnStart.IconUri = new Uri("/AppBar/appbar.stop.rest.png");
}
else
{
DetailsAppBar.btnStart.IconUri = ne...
In a Windows Phone 7 application, I need to do some treatment before the first page gets opened.
But I'd like to do it during the splash screen, so the user knows the application is effectively running.
I tried several events :
Application.Launching event is fired before splash screen
Frame.Navigated event is fired after the first pag...
I'm messing around with the Windows Phone 7 sdk and I'm trying to make the screen look like an old fashion digital display. Right now I'm trying to figure out how to make the text "glow" like one of those cool digital clocks. This is the sort of thing I'd assume you would look in to using shaders for, but it seems that shaders are disabl...
I would like to define a theme for my Windows Phone 7 application, to be applied at application launch regardless of the system theme set by the "Settings" phone menu. How can this be done?
I see on MSDN that Fill="{StaticResource PhoneAccentBrush}" allows the control using that brush to respond to system-wide theme changes. How can I d...
If I do this inside a User Control:
NavigationService.Navigate(new Uri("/Alliance.xaml", UriKind.Relative));
it says this error:
An object reference is required for the non-static field, method, or property 'System.Windows.Navigation.NavigationService.Navigate(System.Uri)'
Thank you
...
When I try to create a CultureInfo for zh-HK using the Windows Phone 7 RTM SDK, I get a System.ArgumentException with "Value does not fall within the expected range.".
This is using the ENU variant of the SDK (US / English).
http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=VS.95).aspx specifically uses the "zh...
Lets say I have this class:
public class MyData
{
public bool IsActive{get;set;}
public String Data1 {get;set;}
public String Data2 {get;set;}
}
and an
ObservableCollection<MyData> data = new ObservableCollection<MyData>;
ListBox.ItemsSource = data;
Adding items to the ObservableCollectionworks as expected; however, I w...
I have some old code that I'm converting to use in Windows Phone. The old code was :
private String Post(string url, string Data)
{
return webClient.UploadString(url, "POST", Data);
}
The problem is there isn't a function called UploadString in webClient. Instead, it's the asynchronous one (UploadStringAsync). How can I convert the ab...
Hi
I tring to stream shoutcast stream in my window phone 7 app
I start an async HttpWebRequest like this
//Init Request
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("http://ACommonoShoutCastUrl:8000");
myHttpWebRequest.Headers["Icy-MetaData"] = "1";
myHttpWebRequest.UserAgent = "WinampMPEG/5.09";
myHttpWebRe...
I am just curious - did anyone got Fiddler to work with Windows Phone 7 emulator (RTW build)? When I try working with Fiddler, I am getting a WebException when working with HttpWebRequest insances - NotFound, to be specific. WireShark works fine.
The problem I see here is that Fiddler acts as a proxy and the WP7 application I am using d...
I had a look at this previous question however this doesn't seem to work for XNA 4 for a Windows Phone 7 project: http://stackoverflow.com/questions/1234426/xna-framework-importers
I've been trying to use:
string line;
using (StreamReader sr = new StreamReader("credits.txt"))
{
while ((line = sr.ReadLine()) != null)
{
...
Can somebody list out the tools needed to develop for windows phone? How do I test my app apart from the emulator? Are there test phones available? I don't want to go through the installation of VS 2010 express.
...
I'm about to add templated <Button> controls inside each of my Pushpins on my Map, in order to interact with the user clicking (er, touching) a pushpin. Is this the proper way to work with pushpins? I don't want to handle MouseDown and MouseUp and reinvent everything (and nobody should).
I just need confirmation.
...
I have a fixed number of pushpins on a Bing Map control, and need to set the map's center and zoom level so that I see all pins. In other words, knowing the leftmost, rightmost, topmost and bottommost pins, how can I adjust the view so I see them all?
Is the ZoomLevel value of any significance relative to the scaling/coordinates?
...