Windows Store apps开发[75]Windows 8 开发31日-第18日-文件关联和程序合约
2012-12-18 20:32
323 查看
注:本文由BeyondVincent(破船)翻译首发
转载请注明出处:BeyondVincent(破船)@DevDiv.com
今天,我将介绍Windows 8中非常酷的一对特征:文件关联和程序合约。我们来看看在Windows 8中与文件关联有关的两个特征:
将我们的程序注册为这样一个程序:可以打开确定类型的文件,比如.png,或者自定义的扩展名,.31days。
当用户尝试打开一个我们的程序不支持的文件【比如.xls文件】,那么可以让程序显示一个兼容的程序列表,供用户选择以打开。
最后,我也会介绍一些通过我们的程序与用户系统注册的一些方法,包括AutoPlay。
PDF下载地址:
第18日-文件关联和程序合约
更多内容请浏览下面链接:
Windows 8 开发31日
一些截图
相关文章推荐
- Windows 8 开发31日-第18日-文件关联和程序合约
- Windows Store apps开发[68]Windows 8 开发31日-第11日-锁屏程序
- Windows Store apps开发[63]Windows 8 开发31日-第06日-搜索合约
- Windows Store apps开发[62]Windows 8 开发31日-第05日-设置合约
- Windows Store apps开发[64]Windows 8 开发31日-第07日-共享合约
- Windows Store apps开发[77]Windows 8 开发31日-第19日-文件选择器
- Windows Store apps开发[47]使用默认程序打开文件
- Windows Store apps开发[71]Windows 8 开发31日-第14日-地理位置
- Windows Store apps开发[60]Windows 8 开发31日-第03日-启动画面
- Windows Store apps开发[80]Windows 8 开发31日-第22日-使用Play To
- Windows Store apps开发[82]Windows 8 开发31日-第24日-光传感器
- Windows Store apps开发[70]Windows 8 开发31日-第13日-页面导航
- Windows Store apps开发[11]浅谈Windows 8 中的合约(contracts)
- Windows Store apps开发[12]Windows 8 中搜索合约的使用
- Windows Store apps开发[84]Windows 8 开发31日-第26日-陀螺仪
- Windows Store apps开发[78]Windows 8 开发31日-第20日-打印
- Windows Store apps开发[67]Windows 8 开发31日-第10日-Toast通知
- Windows Store apps开发[79]Windows 8 开发31日-第21日-摄像头
- Windows Store apps开发[85]Windows 8 开发31日-第27日-倾斜仪
- Windows Store apps开发[65]Windows 8 开发31日-第08日-本地和漫游数据