如何模拟的仿真器具有作为一个SD卡? [英] How do I simulate that the emulator has as an SD Card?

查看:156
本文介绍了如何模拟的仿真器具有作为一个SD卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以模拟Android模拟器的SD卡presence?

Can I simulate an sdcard presence in the android emulator?

推荐答案

这是盖在的模拟器文档

模拟的SD卡图像是仿真器读取并写入距离。单个文件

The emulated SD Card image is single file which the Emulator reads to and writes from.

您可以指定在创建 Android虚拟设备来创建一个SD卡( AVD)使用 机器人 GUI (例如,在Eclipse中点击alt文字按钮):

You can specify to create an SD Card when you create the Android Virtual Device (AVD) using the android GUI (for example from within Eclipse by clicking the button):

<一个href=\"http://content.screencast.com/users/davweb/folders/Snagit/media/e003e54f-026d-4dfe-b851-82be6d78f742/12.23.2009-12.02.54.png\"相对=nofollow称号=点击全尺寸>

或者你也可以使用 mksdcard 命令。

Or you can create an SD Card using the mksdcard command.

要当您启动模拟器通过 -sdcard 选项到仿真器命令使用SD卡图像:

To use an SD Card image when you start your emulator pass the -sdcard option to the emulator command:

emulator -sdcard c:/path/to/my/sdcard

如果您使用的机器人 GUI当您创建AVD,开始您的仿真器,你需要指定的SD卡。

If you're using the android GUI to start your Emulators you need to have specified the SD Card when you created your AVD.

这篇关于如何模拟的仿真器具有作为一个SD卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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