显示Excel文件,用户可以接受或不接受

发布于 2025-02-13 07:24:11 字数 166 浏览 0 评论 0原文

我需要显示我创建的Excel文件。我现在需要的是向用户显示.xls文件,以及“接受”按钮和“取消”按钮。我知道我可以为手机打开文件的意图,但是它将在另一个应用程序中打开,并且我将无法创建该按钮。

有什么办法可以实现这一目标?

PS:我通过StartActivityForresult进行。

I need to display an Excel file that I created. What I need now is to display the .xls file to the user to see it, along with an "Accept" button and a "Cancel" button. I know I can create an Intent for the phone to open the file, but it will open in another app, and I will not be able to create that buttons.

Is there any way I can achieve this?

PS: im doing it via startActivityForResult.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文