CAT | Windows Phone 7
18
DecSample Code Project of Windows Phone OS 7.1 (Mango) – C#
0 Comments | Posted by kananiprabodh in Windows Phone 7
Here are the list of samples which you can find for Windows Phone 7.1 in MSDN
- BasicCamera Sample
- Camera Grayscale Sample
- Search Extensibility Sample
- Local Database Sample
- Silverlight/XNA Framework Sample
- My Little Teapot Sample
- Ringtones Sample
- Background Audio Player Sample
- Tic-Tac-Toe Over Sockets Sample
- Shake Gesture Library Sample
- Tile Sample
- Shell Tile Schedule Sample
- Tile Notification Sample
- Toast Notification Sample
- Raw Notification Sample
- Reminder Sample
- Background Transfer Service Sample
- Execution Model Sample
- Raw Sensor Data Sample
- Simple Motion Sample
- Augmented Reality Motion Sample
- Background Agent Sample
Visit the MSDN Library to download the samples
18
DecGet the Device Information from Windows Phone 7
0 Comments | Posted by kananiprabodh in Windows Phone 7
long AppCurrentMemoryUsage,AppPeakMemoryUsage,DvcTotalMemory;
string dvcFirmwareVersion,dvcHardwareVersion ,dvcManufacturer ,dvcName ,dvcOSVersion ;
dvcFirmwareVersion = DeviceStatus.DeviceFirmwareVersion;
dvcHardwareVersion = DeviceStatus.DeviceHardwareVersion;
dvcManufacturer = DeviceStatus.DeviceManufacturer;
dvcName = DeviceStatus.DeviceName;
DvcTotalMemory= DeviceStatus.DeviceTotalMemory;
dvcOSVersion = Environment.OSVersion.Version.ToString();
AppCurrentMemoryUsage= DeviceStatus.ApplicationCurrentMemoryUsage;
AppPeakMemoryUsage= DeviceStatus.ApplicationPeakMemoryUsage;
18
DecFind Network is Available or not in Windows Phone 7 using C#
0 Comments | Posted by kananiprabodh in Windows Phone 7
bool isAvb;
isAvb = NetworkInterface.GetIsNetworkAvailable();
MessageBox.Show(isAvb.ToString());
MessageBox.Show(Microsoft.Phone.Net.NetworkInformation.NetworkInterface.NetworkInterfaceType.ToString());
18
DecHandle Portrait and Lanscape Orientation in Windows Phone 7
0 Comments | Posted by kananiprabodh in Windows Phone 7
{
this.SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;
}
get Orientation info.
private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e)
{
MessageBox.Show(this.Orientation.ToString());
}
18
DecGet the UniqueID of the Windows Phone 7 using C#
0 Comments | Posted by kananiprabodh in Windows Phone 7
string UID="";
byte[] Dbyte=null;
if (DeviceExtendedProperties.TryGetValue("DeviceUniqueId", out DUID))
{
Dbyte = (byte[])DUID;
}
UID = Convert.ToBase64String(Dbyte);
MessageBox.Show(UID);
![[del.icio.us]](http://www.itshala.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.itshala.com/wp-content/plugins/bookmarkify/digg.png)
![[dzone]](http://www.itshala.com/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://www.itshala.com/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://www.itshala.com/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://www.itshala.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Twitter]](http://www.itshala.com/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.itshala.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.itshala.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.itshala.com/wp-content/plugins/bookmarkify/email.png)
