惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Vulnerabilities – Threatpost
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Proofpoint News Feed
G
GRAHAM CLULEY
P
Privacy International News Feed
The Hacker News
The Hacker News
Forbes - Security
Forbes - Security
U
Unit 42
N
News and Events Feed by Topic
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cyber Attacks, Cyber Crime and Cyber Security
C
Cisco Blogs
A
About on SuperTechFans
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
D
Docker
I
Intezer
Spread Privacy
Spread Privacy
The Last Watchdog
The Last Watchdog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
F
Full Disclosure
S
Secure Thoughts
M
MIT News - Artificial intelligence
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
W
WeLiveSecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Project Zero
Project Zero
Recorded Future
Recorded Future
Cyberwarzone
Cyberwarzone
S
Security Affairs
AWS News Blog
AWS News Blog
H
Help Net Security
The GitHub Blog
The GitHub Blog
Hacker News: Ask HN
Hacker News: Ask HN
Vercel News
Vercel News
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Register - Security
The Register - Security
S
Schneier on Security
F
Fortinet All Blogs
C
CERT Recently Published Vulnerability Notes
L
LINUX DO - 最新话题
T
Tor Project blog
T
The Exploit Database - CXSecurity.com
MongoDB | Blog
MongoDB | Blog
Webroot Blog
Webroot Blog

博客园 - pot

在框架中(IFRAME/FRAMESET)传递COOKIE的解决方案[转] jQuery图片播放插件Fancybox使用方法 C#生成缩略图代码 数据抓取的一个类,包含一些常用的方法 抓取AJAX网页的方法-Firefox组件,C#集成 C#编号的ActiveX控件采用CAB的布署方式实例 C#编写ActiveX控件实例(包括命令和事件) PdfAcroViewer C#代码登录活动目录 用XML反序列化快速完成ASP.NET配置文件 - pot - 博客园 android Activity类的使用 Android中的Intent详细讲解 ZPL II 命令参考 正则表达式语法 - pot - 博客园 《C#异常处理》 C#中接口的作用 The RSA key container could not be opened - pot ASP.NET 页面事件执行顺序 关于object sender,EventArgs e 的一些解释
Android模拟器常用使用,和基本功能使用
pot · 2009-06-01 · via 博客园 - pot

一、创建一个SD卡镜像文件

1)创建SD卡镜像文件
mksdcard 1024M E:\mysoft\Android\SD\sdcard.img

是否创建成功,使用命令:adb shell 然后再输入 ls 可以查看到文件列表。此命令将在下文中详解。
2)启动模拟器,查看镜像文件(这一步需要使用另一个终端)
emulator -sdcard E:\mysoft\Android\SD\sdcard.img
3)复制一个文件到SDCard中,在第一步的终端中执行以下命令。
adb push D:\a.mp3 /sdcard
以上的请注意使用"/sdcard",此为sdcard文件夹根目录。
执行以上命令,还看不到文件,还需要在模拟器中的Dev tools里面scan一下媒体文件。如果是mp3文件,可以在music程序中的歌曲中查看到。
4) 如何浏览SDCard中的文件? 好象模拟器并没有提供相应的程序查看文件列表。不过在Eclpise插件中是可以看到的。
在Andorid项目的RUN 设置窗体中,有一个Target的选项卡,里面有一个Additonal Emulator Command Line Options的选项,在这里输入:
-sdcard E:\mysoft\Android\SD\sdcard.img 然后启动项目,在“DDMS”里面就有一个File explorer就可以全部看到里面的东西了。
同时还可以在此处,上传,下载,删除文件。