cppalien / chatkeyboard Goto Github PK
View Code? Open in Web Editor NEWChatKeyboard is a powerful and easy using keyboard lib for Android, includes emoticons selection, audio recording, multi media functions, etc.
License: Apache License 2.0
ChatKeyboard is a powerful and easy using keyboard lib for Android, includes emoticons selection, audio recording, multi media functions, etc.
License: Apache License 2.0
使用的是N5的,6.0上直接闪退了,因为录音权限的问题。
SQLiteDatabase: Error inserting row=4 item_padding=30 horizontal_spacing=0 is_show_del_btn=0 name=sme line=2 icon_uri=assets://emoticons/sme/wg_tab.png vertical_spacing=0 is_show_name=true
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: emoticonset.name (code 2067)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1471)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1341)
at cn.hadcn.keyboard.emoticon.db.EmoticonDBHelper.insertEmoticonSet(EmoticonDBHelper.java:105)
at cn.hadcn.keyboard.ChatKeyboardLayout$5.run(ChatKeyboardLayout.java:704)
at java.lang.Thread.run(Thread.java:818)
将虚拟按键栏隐藏之后,存在无法点击语音、弹出键盘会挡住输入框的问题
请问能不能提供一个替换掉edittext的方式呢?
写了一个有@人功能的edittext,现在除了改源码外好像没其他办法了
android.database.sqlite.SQLiteDatabaseLockedException
database is locked (code 5): , while compiling: PRAGMA journal_mode
2 android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:906)
3 android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:651)
4 android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:333)
5 android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:307)
6 android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:228)
7 android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:206)
8 android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
9 android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
10 android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
11 android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:836)
12 android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:821)
13 android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:714)
14 android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:1286)
15 android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:268)
16 android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
17 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
18 cn.hadcn.keyboard.emoticon.db.EmoticonDBHelper.insertEmoticonSet(EmoticonDBHelper.java:89)
19 cn.hadcn.keyboard.ChatKeyboardLayout$5.run(ChatKeyboardLayout.java:704)
20 java.lang.Thread.run(Thread.java:818)
ChatKeyboardLayout.initEmoticonsDB(this, true, entities)
这里如果第一次运行时,第二个参数为 true
,有默认表情,这个是正常的,但是当我改成 false
,再运行还是存在默认表情。
看了你的源码你是否初始化成功的处理,不知道你是怎么考虑的,但是实际开发还是存在有的地方需要有的地方不需要。
在界面上添加toolbar之后,autoview就会比键盘高出一截
而根布局用linearlayout的话就没问题了
但是RecordingLayout要显示在界面**的话又只能用relativelayout…
发送表情的时候,会出现乱码,这个问题有注意过吗?
hello tnx for this library
i have problem
me after initialise keyboard in my activity , The keyboard is in the open mode
What do you need to solve this problem?
thank you
在打開emoji 畫面和打開鍵盤,高度不同,會跳來跳去,該怎麼處理? (鍵盤模式高度較低)
我点击编辑框,然后自带的输入法编辑器,就会把打开的表情图和输入框,一起顶到上面去了,请问为什么会出现这种情况呢?
请问想要修改文字输入框的字体颜色,如何做?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.