Limit Aviary features [closed]

拥有回忆 提交于 2019-12-11 02:35:02

问题


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.


回答1:


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);

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

Documentation found here



来源:https://stackoverflow.com/questions/20319633/limit-aviary-features

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!