如何打开文件保存对话框中的Andr​​oid? [英] How to open file save dialog in android?

查看:179
本文介绍了如何打开文件保存对话框中的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web服务,它让我根据图像ID的byte []数组。我想这些字节[]转换为文件和文件存储在Android的用户在哪里希望喜欢的保存文件对话框,文件相同的格式正是它。

I have a web service which give me a byte[] array according to image id . I want to convert these byte[] to file and store a file on android where user want like save file dialog box with file same format exactly it has.

推荐答案

您不能创建一个保存文件对话框,但你可以挽救乌尔应用到Android的SD卡文件,下面的链接的帮助

You cant create a save file dialog but you can save files from ur application to android sd card with the help of below links

的http://机器人-ER。 blogspot.com/2010/07/save-file-to-sd-card.html

http://www.blackmoonit.com/android/filebrowser/意图#intent.pick_file.new

这篇关于如何打开文件保存对话框中的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆