CAT | 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

No tags Hide

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;

No tags Hide

using System.Net.NetworkInformation;

bool isAvb;

isAvb = NetworkInterface.GetIsNetworkAvailable();

MessageBox.Show(isAvb.ToString());

MessageBox.Show(Microsoft.Phone.Net.NetworkInformation.NetworkInterface.NetworkInterfaceType.ToString());

No tags Hide

private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
{
    this.SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;
}
get Orientation info.
private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e)
{
      MessageBox.Show(this.Orientation.ToString());
}

No tags Hide

« Previous

Next »

Managed by

MNP INFOTECH