[Windows Phone 7.5]Run BackGround Task

Run back ground task in windows phone 7.5, First. Create a Windows Phone Scheduled Task Agent project, name it for example: "BackGroundAgent". Open the default created ScheduledAgent.cs file. Write agent code in OnInvoke method:  protected override void OnInvoke(ScheduledTask&n... [More]

[Windows Phone]Timer

Timer code runs in WP7: timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 1);//or TimeSpan.FromSeconds(1) timer.Tick += (sender,e) => {     count++;     txtTimer.Text = count... [More]

[Windows Phone]Using Pivot Control

1. Add Reference to Microsoft.Phone.Controls dll   2. Add xmlns:controls attribute   xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" 3. Use it   <controls:Pivot Title="Pivots">      <contr... [More]

[Windows Phone]Data Binding

First, define a Class People: Xaml elements are going to bind with object of People. Then, Create an instance in the Windows Page's construction method: Now, with the last line of code:     this.stackPanel.DataContext = myData; myData object is now binding with elements

[Windows Phone]Update Message to Live Tiles

Properties of Tiles So, why do we have to the Back_*** things? Every Tile has two sides, front side and back side. If we specify the back site tile,Live tile will rolling over and back every few seconds. Key code to update tile info Referenceshttp://msdn.microsoft.com/en-us/library/hh20294... [More]