【发布时间】:2012-07-05 15:39:18
【问题描述】:
我正在使用 DownloadManager 将文件从网络下载到我的 Android 设备。我将此文件保存在 sdcard 上,使用:
DownloadManager.Request req = new DownloadManager.Request(Uri.parse("file path"));
req.setTitle("file title").setDescription("Downloading ....") // download the package at the /sdcard/download path.
.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, "file name"+ "file extension");
我想将它保存到内部存储中。该怎么做?
【问题讨论】:
标签: android memory storage internal download-manager