を使用して、WebからAndroidデバイスにファイルをダウンロードしていますDownloadManager
。私はこのファイルをSDカードに保存しています:
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");
内部ストレージに保存したい。どうやってするか?