Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
182 views
in Technique[技术] by (71.8m points)

javascript - SDK Android下载管理器(SDK Android DownloadManager)

I have a problem.

(我有个问题。)

I'm writing a program for my application, but I don't know why my files (pdf, xlsx ...) can't be opened when I download them in my application with DownloadManager.

(我正在为我的应用程序编写程序,但是我不知道为什么当我使用DownloadManager将文件下载到我的应用程序中时,无法打开我的文件(pdf,xlsx ...)。)

Here's part of my code:

(这是我的代码的一部分:)

https://i.stack.imgur.com/eiXvk.png

(https://i.stack.imgur.com/eiXvk.png)

I want the file to be read-only and the file to open automatically when downloaded.

(我希望该文件为只读文件,并在下载后自动打开。)

Please help!

(请帮忙!)

I am preparing for the competition and I need help.

(我正在为比赛做准备,需要帮助。)

I find no other options on the Internet.

(我在互联网上找不到其他选择。)

Thank you.

(谢谢。)

  ask by Doxi67 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...