How to use emoticons in eMail and with the Texting component

Use emoticons in both eMail and Texting messages. Emoticons (also called emoji) are a font usable in Text boxes by typing (using the keyboard's symbol option) or by dragging and dropping a script. Emoticons are not jpg or png images. Not all emoticons can be used on all devices. Whether a specific emoticon can be sent/received depends on your device's operating system and the fonts loaded in your device. An emoticon might render differently on a different device or operating system. Emoticons display only on devices that have an 'equivalent' emoticon in their usable fonts. In the sms image, the Zebra does not display on an Android 4.2.2 phone but does display on higher Android versions.

Using intents, the ActivityStarter will format an eMail containing emoticons . The Texting component can send an sms message when emoticons are placed in the Message text. If the Text length is too large to send a single sms message (generally greater than 170 characters in length including spaces) your provider might break up the sms into separate pieces or abort the text message (see the Texting example image).

a Texting example showing the received sms.

an example showing the received email

These Blocks show a simple way to send an eMail using the ActivityStarter and how to send emoticons using the Texting component that result in the messages shown above.

Add text and emoticons using your keyboard or a script to the eMail &body= text or in the sms Texting1.Message puzzle piece.

Most keyboards provide an emoticon mode (symbol mode); select the font mode and type the appropriate emoticon into a Text box.

Your keyboard displays should have an option for symbols or emoticons. Switch from normal text mode to symbol mode.

Alternatively, cut and paste from the following script to test your app. Copy from the text below the emoticon you want to display and paste into the Text Block:

Fancy Fox :wolf:, Son Flour :sunflower:, Grey Mouse :rat:, Zebra Crossing :zebra:, Corgi Tale :cat2:, Red Bug :beetle:, Dino :sauropod:, Colorful Pony :unicorn:, Cowabunga :cow2:, Pink Oink :pig:, Black Cat :cat:, Two Humps :camel:, White Rabbit :rabbit2:, Young Chic :hatching_chick:, Hedge It :hedgehog:, Bat Wing :bat:, Brown Bear :bear:, Smiling Panda :panda_face:, Track Me :paw_prints:, Whoo Owl :owl:, Lion Around :lion:, Tux Penguin​:penguin:, Green Frog :frog:, T-Rex :t_rex:, Cricket Chirp :cricket:

Test this example code on a real Android device. The code will not execute using the stock emulator or a device that does not have a valid cell phone provider. Texting is not possible on most tablets. Tablets usually do not have phone call capability. If your tablet does, you are fortunate.

Happy 4th of July! flag

-- Steve

4 Likes