是否可以共享应用程序数据文件? [英] Is it possible to share appdata files?

查看:140
本文介绍了是否可以共享应用程序数据文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


appdata内容不支持此方法

/ p>

是否可以共享应用程序数据文件?我想实现一个功能来在应用程序的用户之间共享配置文件。我使用的是 https://github.com/googledrive/appdatapreferences-android 来初始化一个DriveService并使用

  syncer.getDriveService()。permissions()。insert(permission).execute(); 

添加新权限,但上面的错误是我在堆栈跟踪中看到的内容。

解决方案

这是目前不可能的,通过设计 - 抱歉。你必须有一个非appdata常规文件用于此目的。



Google正在研究这个用例,请继续关注。


When I try to share an appdata file, it responds with the following error.

"Method not supported for appdata contents"

Is it possible to share appdata files? I want to implement a feature to share configuration file among application's users. I'm using https://github.com/googledrive/appdatapreferences-android to init a DriveService and using

syncer.getDriveService().permissions().insert(permission).execute();

to add a new permission but the error above is what I see on the stack trace.

解决方案

This is not currently possible, by design - sorry. You have to have a non-appdata regular file for this purpose.

Google are looking at this use-case, so please stay tuned.

这篇关于是否可以共享应用程序数据文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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