Android Keyboard with Emoji

So I want to have a keyboard in my app that has emoji just like Whatsapp or Hangouts. How can I do that? I want to leave my key keyboard as it is I just want to add tabs to put emojis. I would think it would be easily supported by the soft keyboard but I can find nothing so far. Anyone could tell how to do it?

UPDATE:
The keyboard with emoji is included in Android KitKat and can be accessed by long pressing the new line button in the keyboard. The Hangouts keyboard however has the emoji icon visible instead of the “new line” key. If someone knows how to make this the default (either in layout or programmatically) I will take that as the correct answer.

  • Set Limit on the DatePickerDialog in Android?
  • How to Drag drop Listview item to another Listview
  • No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'
  • Unable to resolve target 'android-17'
  • How to run or debug on android phone instead of emulator?
  • Can't launch the app in Android Studio 2.0 Preview
  • Unicode character on Android not displaying
  • How to disable copy/paste from/to EditText
  • How to Define Callbacks in Android?
  • CoordinatorLayout layout_anchor does not work
  • Context cannot be provided without an @Provides-annotated method, but it is?
  • How to code sharing between Android and iOS
  • 5 Solutions collect form web for “Android Keyboard with Emoji”

    As @dbar pointed out, the answer is:

    android:inputType="textShortMessage"
    

    But in my case, I was already using textMultiLine, so I had to use the both of them together:

    android:inputType="textMultiLine|textShortMessage"
    

    Looks like this:

    Keyboard with Emoji Button
    Emoji Keyyboard

    I’m not sure about the Exact android version, but this should work only on Android 4.1 and above

    Finally the answer was:

    android:inputType="textShortMessage"
    

    The new line key becomes a key to take out the emoji keyboard. The only quibble is the ‘new line’ key from the keyboard disappears with this configuration (before you could long press to choose between emoji/new line but now it’s only emoji).

    In Google Hangout, the emoji button is not on the keyboard (at least on my phone which is already using a third party keyboard), it’s inside of the TextEdit box, and so it’s part of the application itself (Gabe, I’m talking about the latest Google Hangout on top of KitKat with emoji support, all the current screenshots I found of Google Hangout do not show what I’m seeing on my phone, so this must be a very recent feature).

    This is actually pretty easy to do, placing an ImageButton to the right of a TextView inside a RelativeLayout (the RelativeLayout which is made to look like a TextView with a custom background).

    Then, it’s just a matter of hiding the keyboard when clicking on that ImageButton and replacing it with a panel full of emojis when that happens (like in this open source emoji android keyboard, which is under a creative commons non-commercial license).

    There is no functionality to add tabs to any generic keyboard. Certain keyboards may support it, but it isn’t a common feature. You could write your own fully custom keyboard, but that’s a lot of work and will piss off many users.

    Also, I’m not sure what you mean about by like in hangouts. I use hangouts- it doesn’t do anything odd with my keyboard. It stays as Swype, there’s no special emoji tab. It may be a feature of your favorite keyboard based on the input type (I assume both use input type textShortMessage). But it isn’t a generic feature.

    You can also share emoji by the android keyboard and also create your own emoji by the help of some apps easily without coding.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.