windows-phone-7 Questions

4

Solved

I have the model class like the following, public class Station { [DataMember (Name="stationName")] public string StationName; [DataMember (Name="stationId")] public string StationId; } I wo...
Marrissa asked 3/1, 2014 at 6:48

3

Solved

I have two times, and their values are picked up from a XML from web. XElement xmlWdata = XElement.Parse(e.Result); string SunRise = xmlWdata.Element("sun").Attribute("rise").Value; string SunSet...
Probable asked 20/5, 2012 at 7:52

12

Solved

I'd like to store the hash of a password on the phone, but I'm not sure how to do it. I can only seem to find encryption methods. How should the password be hashed properly?
Rincon asked 15/11, 2010 at 3:32

15

Solved

I'm calculating the distance between two GeoCoordinates. I'm testing my app against 3-4 other apps. When I'm calculating distance, I tend to get an average of 3.3 miles for my calculation whereas o...
Dilworth asked 16/6, 2011 at 2:9

8

Solved

How does one use a converter with Multiple parameters in a Windows Phone 7 Application?
Whatsoever asked 4/7, 2012 at 5:56

8

Solved

I have a WP7 app where I would like to have a "clickable" TextBlock area, that when a user clicks on the TextBlock, it puts it into edit mode (a different control). This would add another explicit ...
Churn asked 29/11, 2010 at 21:19

6

I'm trying to make a webrequest through a proxy on Windows phone 7. From what I can see the Compact Framework does not include the configuring of a proxy for the HttpWebRequest object. I tried usin...
Scissel asked 21/8, 2012 at 8:42

6

Solved

How can I get this error from with in the DownloadStringCompleted Event? Doesn't that mean, it's finished? Is there another event I can fire this from? I get this error extremely rarely, but once ...
Prosthodontics asked 19/3, 2012 at 4:39

8

Solved

I have a Page with an Pivot-control and in some cases I don't want to show a particular PivotItem. Setting the Visibility to collapsed doesn't seem to affect it at all. Any suggestions?
Pylos asked 3/4, 2011 at 18:27

8

Solved

I want to suppress a key stroke in a TextBox. To suppress all keystrokes other than Backspace, I use the following: private void KeyBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)...
Needlecraft asked 9/3, 2013 at 21:35

6

I m trying to POST the request using RestSharp client as follows I m passing the Auth Code to following function public void ExchangeCodeForToken(string code) { if (string.IsNullOrEmpty(code)) ...
Automatism asked 9/7, 2012 at 18:24

6

Solved

I have seen a lot of mobile phone apps that just open a web page without the controls. Just the page. I am looking for guidance and links to start something simple like this.
Torritorricelli asked 12/11, 2011 at 1:51

6

Solved

I'm using a checkbox control like this: <CheckBox VerticalAlignment="Bottom" IsChecked="{Binding Selected}" Grid.Column="0" FontSize="{StaticResource PhoneFontSizeLarge}" Content="{Bindin...
Knowland asked 20/11, 2012 at 20:11

4

Solved

I need to add some custom headers to the HttpWebRequest object. How can I add Custom Header to HttpWebRequest object in Windows Phone 7.
Libidinous asked 15/12, 2011 at 12:0

2

I am attempting to help a user log into their account using a custom WebBrowser control. I am trying to set the value of an input tag to the players username using the WebBrowser's InvokeScript fun...
Chockablock asked 4/2, 2013 at 6:17

3

Solved

my application, currently, goes to the MainPage.xaml at startup (I don't know where it has configured though). I want to be able to start with another page in some conditions. I think I can add th...
Heartfelt asked 3/10, 2013 at 21:36

4

Solved

For deserialising a json object, I had to define a parent class that would contain an object or an array of objects for the child class. It has to be an object if an object was retrieved, or an arr...
Vanwinkle asked 12/4, 2012 at 6:16

6

Solved

I'm currently creating an application in C# using Visual Studio. I want to create some code so that when a variable has a value of 1 then a certain piece of code is carried out. I know that I can u...

8

Solved

How to check if in Denmark daylight time savings has taken effect, if so, then add 1 hour to my data, else not? I have a xml file: <day = "1" month = "5" sunrise ="06:30" sunset ="21:30" /> ...
Procedure asked 19/5, 2012 at 13:43

5

Solved

I'm trying to call a method as soon as a TextBox on my screen gets 'un-focused' if that makes any sense? The user types in a username and as soon as that textbox loses focus I want to fire an event...
Susansusana asked 4/10, 2012 at 11:57

4

Solved

I am developing a windows phone application.In that i ask the user to login. On the login page the user has to enter password. Now what I want is that i give user a check box which when selected ...
Smalltime asked 10/4, 2012 at 15:15

6

Solved

I'm attempting to use the documentation on the RestSharp GitHub wiki to implement calls to my REST API service but I'm having an issue with the ExecuteAsync method in particular. Currently my code...
Anglesey asked 14/4, 2012 at 12:48

3

I have been trying to access a REST-based API on a Windows Phone using a few different approaches, but I seem to be running into issues with attaching cookies to the request with all of them. I hav...
Posology asked 2/7, 2011 at 12:44

8

Solved

When I can call the 3rd party api and get back a single class worth of data everything deserialises fine using this code TheUser me = jsonSerializer.Deserialize(response, typeof(TheUser)) as TheU...
Impractical asked 12/5, 2011 at 14:20

3

Solved

Well I've looked up several methods to fix this in my Windows Phone 7 app but I can't seem to find anything that works. What confuses me is that I've done something just like this before with no pr...
Prier asked 30/12, 2010 at 23:18

© 2022 - 2025 — McMap. All rights reserved.