Smobiler上海石磨_.NET移动开发平台

标题: 通过Smobiler实现——拍照功能 [打印本页]

作者: amanda.li    时间: 2015-12-28 18:05
标题: 通过Smobiler实现——拍照功能
一、拍照功能展示
[attach]366[/attach]







二、详细步骤
2.1,拍照
2.1-①  添加CameraButton控件↓
[attach]368[/attach]
2.1-②   选中CameraButton控件为对象→事件→ImageCaptured双击,进入代码编辑页面↓
[attach]369[/attach]
2.1-③  写代码↓
[attach]370[/attach]
[attach]371[/attach]

2.2,照片展示
2.2-①  添加Image控件↓
[attach]373[/attach]
2.2-②  写代码↓
[attach]374[/attach]






三、源码下载
https://github.com/comsmobiler/demo-videos 中的camera项目
附件本帖中的拍照和照片功能的源代码包,解压缩后在Visual Studio环境中运行即可









欢迎光临 Smobiler上海石磨_.NET移动开发平台 (https://www.smobiler.com/) Powered by Discuz! X3.2