Android-如何使用组图片从SD卡进行视频? [英] Android- How to make video using set of images from sd card?
本文介绍了Android-如何使用组图片从SD卡进行视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过我的Android应用程序创建使用从SD卡图像的视频。
I want to create a video using images from a sdcard through my application in android.
推荐答案
使用帧动画
在XML中定义的动画,显示的图像,以一序列(如薄膜)。
An animation defined in XML that shows a sequence of images in order (like a film).
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot=["true" | "false"] >
<item
android:drawable="@[package:]drawable/drawable_resource_name"
android:duration="integer" />
</animation-list>
这篇关于Android-如何使用组图片从SD卡进行视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文