我怎样才能下载文件到我的下载文件夹中的android [英] How can I download a file to my downloads folder android

查看:104
本文介绍了我怎样才能下载文件到我的下载文件夹中的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Android的到我的SD卡下载一个文件,然后把它从我的Andr​​oid模拟器。我可以将文件下载到

I want to download a file using android to my sdcard and then see it from my android emulator. I can download a file to

/mnt/sdcard/myfile.jpg

我想看到从我的Andr​​oid模拟器此文件。

I want to see this file from my android emulator.

或者,我可以将它下载到我的下载文件夹中。

Or I can download it to my downloads folder.

推荐答案

请下载和保存文件检查这个例子:的http://www.androidsnippets.com/download-an-http-file-to-sdcard-with-progress-notification.
你下载的文件后,你可以看到它在DDMS角度来看,在文件浏览器的看法。会有一个SD卡的文件夹。同时也请确保您设置仿真器的SD卡的大小,当你创建的模拟器。

Please check this example for downloading and saving the file: http://www.androidsnippets.com/download-an-http-file-to-sdcard-with-progress-notification. After you downloaded the file you can see it in the DDMS perspective, at the "file explorer" view. There will be an "sdcard" folder. Please also be sure that you set the size of the emulator's SD card when you created the emulator.

这篇关于我怎样才能下载文件到我的下载文件夹中的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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