gboard

Gboard: Enable GIF insertion on EditText

北战南征 提交于 2019-12-09 04:41:16
问题 I am using the Gboard from Google in my app and when i input a GIF from the keyboard app to my EditText it then shows a toast "The text field does not support GIF insertion from the keyboard" I have search about this a thousand times and can't find out a result Any help would be appreciated. 回答1: Image Keyboard Support Users often want to communicate with emojis, stickers, and other kinds of rich content. In previous versions of Android, soft keyboards (also known as input method editors or

Gboard: Enable GIF insertion on EditText

孤街醉人 提交于 2019-12-03 06:04:28
I am using the Gboard from Google in my app and when i input a GIF from the keyboard app to my EditText it then shows a toast "The text field does not support GIF insertion from the keyboard" I have search about this a thousand times and can't find out a result Any help would be appreciated. Image Keyboard Support Users often want to communicate with emojis, stickers, and other kinds of rich content. In previous versions of Android, soft keyboards (also known as input method editors or IMEs) could send only unicode emoji to apps. For rich content, apps had to either build app-specific APIs

GBoard Keyboard GIF Sticker Integration

ぃ、小莉子 提交于 2019-12-02 15:39:22
问题 I am trying to support GBoard in my app. I want users to be able the select GIF from GBoard. My onCommitContent looks like this: @Override public void onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts) { try { if (inputContentInfo != null){ if (inputContentInfo.getContentUri() != null){ Log.v(inputContentInfo.getContentUri().getPath()); } if (inputContentInfo.getLinkUri() != null){ Log.v(inputContentInfo.getLinkUri().getPath()); } Log.v((String)(inputContentInfo