How to send Emoji to a text box in android device using appium?

For this we have to add two capabilities : capabilities.setCapability(“unicodeKeyboard”, true); capabilities.setCapability(“resetKeybord”, true); /***code for sending emoji***/ String ballEmoji = “\u26BD”; driver.findElement(By.xpath(“//android.widget.EditText[@resource-id=’com.pcloudy.pcloudykeystroke:id/txtrat’]”)).sendKeys(ballEmoji);