chiragjain / emoticons-keyboard Goto Github PK
View Code? Open in Web Editor NEWA custom keyboard for emoticons for android chatting application
A custom keyboard for emoticons for android chatting application
I can think of emoticons with unicode but since you are using drawable I am not sure how to save it in db. I think one way is to extend spans.
Hello
We tried running the same code. the code was built and when emulator started it gave an error message saying "Unfortunately emoticon keyboard has stopped working".
In problems the following error message was shown:
Description Resource Path Location Type
The project was not built due to "Could not write file: C:\Users\dell\workspace\EmoticonKeyboard\bin\classes\com.". Fix the problem, then try refreshing this project and building it since it may be inconsistent EmoticonKeyboard Unknown Java Problem
Please help us!
HI ,
first of all thank you for your project.
I am creating a chat application and it was very usefull for me. but for outgoing message , it is working good . and when incoming message is come, i am unable to get smile .
please suggest me how can i do it?
thank you
Dear,
Thanks a lot for the amazing work,
But I have tried to add the keyboard to my own project without the emotion but it did not work, still the keyboard move the whole activity up:
what I did
private void enableFooterView() {
final ImageButton postButton = (ImageButton) this.currentView
.findViewById(R.id.imgBtnPostReply);
postButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
if (content.getText().toString().length() > 0) {
}
}
});
}
/**
* change height of emoticons keyboard according to height of actual
* keyboard
*
* @param height
* minimum height by which we can make sure actual keyboard is
* open or not
*/
private void changeKeyboardHeight(int height) {
if (height > 100) {
keyboardHeight = height;
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
LayoutParams.MATCH_PARENT, keyboardHeight);
emoticonsCover.setLayoutParams(params);
}
}
/**
* Checking keyboard height and keyboard visibility
*/
int previousHeightDiffrence = 0;
private void checkKeyboardHeight(final View parentLayout) {
parentLayout.getViewTreeObserver().addOnGlobalLayoutListener(
new ViewTreeObserver.OnGlobalLayoutListener() {
@Override
public void onGlobalLayout() {
Rect r = new Rect();
parentLayout.getWindowVisibleDisplayFrame(r);
int screenHeight = parentLayout.getRootView()
.getHeight();
int heightDifference = screenHeight - (r.bottom);
previousHeightDiffrence = heightDifference;
}
});
}
And calling the enablefooter(), changeHieght in OnCreate Function
Issue Resolved
Copy text and paste, it not show emoticon
Is this portable to native keyboard app ? I m trying to make an emoji keyboard and all i get is OBJ image when i try to span the drawable to the input connection
hi I am fresher to android... I did not understand how you have obtained the appearance of native keyboard with out using INPUT_METHOD_SERVICE anywer in project.. can U please explain
I have no configuration when I import your project.
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.