09 2013 档案
应用程序隐私政策
摘要:应用旨在帮助用户方便完成日常任务,增进生活乐趣, 承诺遵循以下:1)不在用户不知情的情况下使用用户的网络连接2)不访问用户的隐私信息3)不访问用户的隐私数据4)应用程序可能会将数据文件存放在客户终端中,并访问它。5)应用程序可能会使用你的摄像头,使用之前会问询客户或在客户知情情况下使用6)应用程序可能会调用邮件服务,使用之前会问询客户或在客户知情情况下使用
阅读全文
Windows Store App, Shaken
摘要:Accelerometer _accelerometer; int _shakeCount = 0; public MainPage() { this.InitializeComponent(); _accelerometer=Accelerometer.GetDefault(); if (_accelerometer != null) _accelerometer.Shaken += new TypedEventHandler(Shaken...
阅读全文
Disable Portrait in app
摘要:I had this problem as well as I wanted to constrain my game to only landscape mode. I put this in my OnLaunched handler for App.xaml:Windows.Graphics.Display.DisplayProperties.AutoRotationPreferences=Windows.Graphics.Display.DisplayOrientations.Landscape;However I noted that in the simulator it seem
阅读全文
简易二分查找算法
摘要:class Program { static void Main(string[] args) { int[] arr = new int[] { 5,10,50,200,1000,10001}; int index = BinarySearch(arr, 5, 5, 10001); } static int BinarySearch(int[] array, int left, int right, int value) { int mid; ...
阅读全文
Use JAWS 14 in a VM
摘要:We were not able to run the JAWS 14 app in a Virtual Machine after the installation is completed, that is because the sentinel system driver is not installed correctly. However we can install the sentinel system drive manually, then install the JAWS and it will work in the VM, here is the steps:Down
阅读全文
浙公网安备 33010602011771号