public override void ViewDidAppear(bool animated)
{
base.ViewDidAppear(animated);
a = Accelerometer.GetDefault();
//a.ReadingChanged += A_ReadingChanged;
//var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("test.txt", CreationCollisionOption.OpenIfExists);
//System.Diagnostics.Debug.WriteLine(file.ContentType);
/* Windows.UI.Popups.PopupMenu pm = new Windows.UI.Popups.PopupMenu();
pm.Commands.Add(new UICommand("First", (c) => { }));
pm.Commands.Add(new UICommand("Second", (c) => { }));
pm.Commands.Add(new UICommand("Third", (c) => { }));
pm.Commands.Add(new UICommand("Fourth", (c) => { }));
pm.Commands.Add(new UICommand("Fifth", (c) => { }));
pm.Commands.Add(new UICommand("Sixth", (c) => { }));
await pm.ShowAsync(new Windows.Foundation.Point() { X = 20, Y = 20 });*/
DateTimeOffset? isThis = DateTimeOffset.Now;
ApplicationData.Current.LocalSettings.Values["LastUpload"] = isThis;
/*InTheHand.UI.Popups.MessageDialog md = new InTheHand.UI.Popups.MessageDialog("Content", "Title");
md.Commands.Add(new UICommand("One", (c) => { System.Diagnostics.Debug.WriteLine("One"); }));
md.Commands.Add(new UICommand("Two", (c) => { System.Diagnostics.Debug.WriteLine("Two"); }));
//md.Commands.Add(new UICommand("Three", (c) => { System.Diagnostics.Debug.WriteLine("Three"); }));
await md.ShowAsync();*/
System.Diagnostics.Debug.WriteLine(Package.Current.DisplayName);
System.Diagnostics.Debug.WriteLine(Package.Current.Id.Name);
System.Diagnostics.Debug.WriteLine(Package.Current.Id.Version.ToString());
System.Diagnostics.Debug.WriteLine(Package.Current.InstalledDate);
System.Diagnostics.Debug.WriteLine(Package.Current.IsDevelopmentMode);
}