Giter VIP home page Giter VIP logo

emoticons-keyboard's Introduction

Emoticons-Keyboard

Android Arsenal

A custom keyboard (dialog) for emoticons for android chatting application.

It uses :

  • Dialog box for keyboard
  • Viewpager and gridview for drawer
  • spannable strings for showing emoticons

Usage

This project is not a library. It is just a common android application in which i have just try to implement a keyboard (actually a dialog box) for adding smileys in texts.

ScreenShots

Screenshot 1

Screenshot 2

Screenshot 3

Copyright (c) 2013 Chirag Jain

emoticons-keyboard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emoticons-keyboard's Issues

Error in emoticon keyboard.

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!

how r u getting native keyboard

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

Emoticons showing [obj] in the TextView

Hi.
first of all I should honestly thank you for your project that helped me so much.
I have one issue the I can't solve it. as you can see in the image bellow, emojis showing [obj] and I dont know what to do exactly to solve this.
Please Help.
issue

input method service

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

thank you

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

Integrate without emotions in a fragment

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

How are you saving emoticons in db

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.