摘要:
1、files: 在应用程序中用户的数据可以存储在文件中。共有三个地方可以用来存放文件: Windows.Storage.ApplicationData.current.localFolder Windows.Storage.ApplicationData.current.roamingFolder Windows.Storage.ApplicationData.current.temporaryFolder导读(Local、Roaming、Temporary files): 文件适用于存储大的数据集,数据库,或者普通文件格式的数据. 并且文件可以放在本地,云端(漫游),或者临时文件夹中.文件 阅读全文
posted @ 2012-09-14 17:50
博琼
阅读(602)
评论(0)
推荐(0)
摘要:
应用的 “设置” 功能是很重要的。首先当用户运行你的应用的时候,会在设置页面中看到你的应用都使用了哪些系统的功能。另外,你需要把你应用的 “设置面板”中,添加 “隐私声明”,当用户点击 “隐私声明” 可以跳转到网站的 “隐私声明页面”,否则你的应用在提交到商店时是会被打回来的。我就是个血淋淋的例子,因为没添加隐私声明等问题,就被 win8 的商店打回来了。下面 1、 中有描述。 错误报告的 部分 描述:B:: The app has declared access tonetwork capabilities and no privacy statement was providedin t. 阅读全文
posted @ 2012-09-14 13:03
博琼
阅读(736)
评论(0)
推荐(0)
摘要:
命名空间:Windows.ApplicationModel1、获取应用程序安装文件夹的路径: // This will give the Installed Location. You can use this location to access files, if you need them. Windows.Storage.StorageFolder installedLocation = Package.Current.InstalledLocation; txt.Text = String.Format("Installed Locat... 阅读全文
posted @ 2012-09-14 12:35
博琼
阅读(285)
评论(0)
推荐(0)
摘要:
引用命名空间:using Windows.System.UserProfile;1、获取用户头像信息: // The small picture returned by GetAccountPicture() is 96x96 pixels in size. StorageFile image = UserInformation.GetAccountPicture(AccountPictureKind.SmallImage) as StorageFile; if (image != null) {try ... 阅读全文
posted @ 2012-09-14 11:44
博琼
阅读(273)
评论(0)
推荐(0)
摘要:
windows phone 的应用在7月底完工,八月初提交到store,然后开始准备下一个产品迭代了,顺便研究一下 win8 的开发,研究了几天的 win8 的开发模型,感觉不是很难,和 wp 都是 xaml + c# 模型。研究了一下 微软 msdn 上面 win8 的示例代码,也不是很复杂,但是比较零散,于是想分别摘要下来,本人喜欢简洁,想着去掉不必要的部分,便于阅读。示例包下载:http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples 阅读全文
posted @ 2012-09-14 11:34
博琼
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号