当前位置:编程学习 > wap >>

android录制的同时拍照

查阅了很多资料,貌似在4.0中不能同时实现
所以就退而求其次想实现截图
我在videoview中实现mediarecoder录制的视频
通过Bitmap bitmap = m_videoview1.getDrawingCache();
获取到的bitmap为空
不知道这方面截图应该怎么实现..
有大神解答一下嘛 
分不够可以另外开贴给分.. android 截图 --------------------编程问答-------------------- 有root权限没有? --------------------编程问答--------------------
引用 1 楼 luowenlong860502 的回复:
有root权限没有?

fb0? --------------------编程问答--------------------
引用 2 楼 shen332401890 的回复:
Quote: 引用 1 楼 luowenlong860502 的回复:

有root权限没有?

fb0?

如果是2.3以上系统可以直接调用系统的截图接口 --------------------编程问答--------------------
引用 3 楼 luowenlong860502 的回复:
Quote: 引用 2 楼 shen332401890 的回复:

Quote: 引用 1 楼 luowenlong860502 的回复:

有root权限没有?

fb0?

如果是2.3以上系统可以直接调用系统的截图接口

那个截图的分辨率 会很差的吧。
不过貌似 接口是哪个 请指点一下 --------------------编程问答--------------------
引用 4 楼 shen332401890 的回复:
Quote: 引用 3 楼 luowenlong860502 的回复:

Quote: 引用 2 楼 shen332401890 的回复:

Quote: 引用 1 楼 luowenlong860502 的回复:

有root权限没有?

fb0?

如果是2.3以上系统可以直接调用系统的截图接口

那个截图的分辨率 会很差的吧。
不过貌似 接口是哪个 请指点一下


不会,请参考2.3源码中的frameworks\base\services\surfaceflinger\tests\screencap\screencap.cpp文件 --------------------编程问答--------------------
引用 5 楼 luowenlong860502 的回复:
Quote: 引用 4 楼 shen332401890 的回复:

Quote: 引用 3 楼 luowenlong860502 的回复:

Quote: 引用 2 楼 shen332401890 的回复:

Quote: 引用 1 楼 luowenlong860502 的回复:

有root权限没有?

fb0?

如果是2.3以上系统可以直接调用系统的截图接口

那个截图的分辨率 会很差的吧。
不过貌似 接口是哪个 请指点一下


不会,请参考2.3源码中的frameworks\base\services\surfaceflinger\tests\screencap\screencap.cpp文件


ths
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,