小部件预览保存位置
我使用默认的“Widget Preview”应用程序在 Honeycomb 模拟器中截取了我的应用程序小部件的屏幕截图,但我不知道图像保存在哪个位置。我一直在使用 adb shell 命令四处寻找以及在 Gallery 应用程序中查找,但我一直无法找到它。 我可以通过电子邮件发送或发送彩信,但我想我不需要在模拟器上设置邮件帐户。
有没有一种简单的方法来获取我错过的图像,或者我真的需要在模拟器上设置邮件帐户吗?
提前致谢。
I've taken a screenshot of my app widgets in the Honeycomb emulator using the default "Widget Preview" application, but I don't know in which location the image has been saved. I've been looking around using adb shell commands as well as looking in the Gallery application but I haven't been able to find it.
I can email it or send a MMS, but I guess that I don't need to setup a mail account on the emulator.
Is there an easy way to get the image which I've missed, or do I really need to setup a mail account on the emulator?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
回答我自己的问题:
该应用程序的源码是Honeycomb sdk中的部分示例。通过查看源代码,我发现它保存在 SD 卡上的“下载”文件夹中。它的名称是
[app_name]_ori_[orientation].png
。例如Gallery_ori_landscape.png
。只需使用 adb pull 从模拟器中提取它:
我可能太早问这个问题了,但我希望这能为其他遇到此问题的人澄清过程。
Answering my own question:
The source of the application is a part of the samples in the Honeycomb sdk. By looking at the source I found out that it is saved in the "Download" folder on the sd-card. Its name is
[app_name]_ori_[orientation].png
. For exampleGallery_ori_landscape.png
.Pull it from the emulator simply by using adb pull:
I probably asked the question too early, but I hope this will clarify the procedure for other who get this problem.
您可以下载模拟器 WidgetPreview apk,然后安装在您的 Android 手机/平板电脑上。您将在 sdcard/Download http://code 上获得预览图像
。 google.com/p/android-widget-preview/downloads/detail?name=WidgetPreview.apk
You can download emulator WidgetPreview apk and then install on you Android phone/tablet. You'll get preview image on sdcard/Download
http://code.google.com/p/android-widget-preview/downloads/detail?name=WidgetPreview.apk