java - 下载pdf不起作用我想将我创建的pdf下载到我的内部存储android Q中的下载文件中
问题描述
String pdfPath = getContext().getFilesDir().toString();
File file = new File (pdfPath,customer+"_"+date+".pdf");
解决方案
推荐阅读
- angular - Angularfire2 显示“缺少权限”错误,而直接 firebase 运行没有问题
- java - Java:如何在不创建多个实例的情况下访问也处理 gpio 初始化的类的方法
- java - 持续和实时计划更新问题
- android - 我怎样才能让一个类只在某些 API 级别上运行?
- unit-testing - 如何模拟空间模型/文档对象以进行单元测试?
- memory - 堆分配内存的性能如何?
- python - 如何为列中的每个元素找到另一列中最接近的元素?
- classification - AWS sagemaker RandomCutForest(RCF)与 scikit 精益 RandomForest(RF)?
- php - 在“加入购物车”按钮后添加个性化内容?电子商务
- google-app-engine - 错误:(gcloud.app.deploy)错误响应:[13] 无法创建清单文件