限制功能观鸟 [英] Limit Aviary features

查看:175
本文介绍了限制功能观鸟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能限制百鸟照片编辑功能。举例来说,我想只用添加文本的功能。

May I know 'Is it possible to limit Aviary photo editing features'. For instance, I wanna use only adding text feature.

也许,愚蠢的问题。但我不能对这些信息任何地方。

Probably, stupid question. But I cannot find anywhere about that information.

推荐答案

随着百鸟SDK为Android,你可以限制在启动意图打开编辑器的活性可用的工具。
您添加它们作为额外的意图。
因此,对于你的情况,这将是:

With the Aviary SDK for Android, you can limit the tools that are available when you start the intent to open the editor activity. You add them as an extra to the intent. So, for your case, it would be:

String[] tools = new String[] { "TEXT" };
Intent aviaryIntent = new Intent(activity, FeatherActivity.class);
aviaryIntent.setData(data);
aviaryIntent.putExtra(Constants.EXTRA_TOOLS_LIST, tools);
startActivityForResult(aviaryIntent, REQUEST_AVIARY);

自定义您的需要,但关键是增加pre定义工具名称的字符串数组的意图。

Customize to your needs, but the key is adding a string array of pre-defined tool names to the intent.

这里发现文档

这篇关于限制功能观鸟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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