:setNotificationVisibilityなし DownloadManager downloadManager = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
//imageUri is a valid Uri
Request downloadRequest= new Request(imageUri);
私はこの方法でAndroid DownloadManagerクラスを使用しようとしています: super.onCreate(savedInstanceState); setContentView(R.layout.main); Request r = new Request(Uri.parse("http://url"));
r.setDestinationInExternalPublicDir
可能性の重複:私は、ユーザーがそれらをダウンロードすることができ、書籍の一覧を表示するAndroidアプリを作成し How to list my app downloads は、私は、ディレクトリを/ mnt/SDカード/ myappの中にダウンロードをしました/ダウンロード File sdCard = Environment.getExternalStorageDirectory();
Fil