模拟器和上传视频 [英] emulator and uploading video

查看:152
本文介绍了模拟器和上传视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人帮我一下Android模拟器?我试图推.MPG文件到SD卡,但我看不到文件,当我运行我的应用程序。仿真器是否支持.mpg格式文件?

Does anyone help me about android emulator? I am trying to push a .mpg file into the sd card but I can not see the file when I run my application. Does emulator support .mpg files?

其次,我要上传到服务器asp.net的视频,但我不能发送文件,我得到了内存不足的错误在我的code。我使用的多部分上传。在另一方面,这code能JPEG文件上传到服务器上,它是成功的。

Secondly, I want to upload a video to asp.net server but I can not send the file and I get the out of memory error in my code. I am using multi part upload. On the other hand this code is able to upload a jpeg file to the server and it was successful.

推荐答案

要上传文件到模拟器实例

to upload a file to emulator instance


  • 创建使用AVD一个新的模拟器。请确保您选择'支持SD卡'这一点。请参考下面的图片


  • 启动AVD,等到模拟器负载完全

  • 现在,在Eclipse IDE中,选择 DDMS 角度看,窗口 - >打开透视图 - > DDMS

  • 选择文件浏览器设置页,让您的设备的目录树。

  • 选择 MNT - > SD卡文件夹中。这是你的SD卡

  • 现在,使用文件推到设备按钮在上面的文件推到模拟器实例。

  • Start the AVD and wait till the emulator loads fully
  • Now in eclipse IDE, select DDMS perspective, by Window -> Open Perspective -> DDMS
  • Select File Explorer tab to get the directory tree of your device.
  • Select mnt -> sdcard folder. This is your SD card
  • Now use the 'Push file onto the device' button on top to push a file to the emulator instance.


  • 文件在你的模拟器
  • 的SD卡

这篇关于模拟器和上传视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆