开发者

How to get the size of the video in Kilobytes?

Is it possible to get the size of the video in kilobyt开发者_如何学JAVAes in android? Is there any API for that?

Update I am trying to fetch the video from a http:// location.


File file = new File("xxx.flv");

long length = file.length();

length = length/1024;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜