how set emoji by unicode in a textview? - SemicolonWorld
文章推薦指數: 80 %
??? unicode = U+1F60A String emoji ...
AskQuestion
ProgrammingTutorials
All
PHP
Wordpress
Codeigniter
Laravel
.Net
Drupal
CSS
JavaScript
jQuery
Python
AngularJS
Android
Node.js
SEO
Joomla
D3.js
iOS
BackboneJS
CakePHP
JasmineJS
ReactJS
Bootstrap
Facebook
GoogleAPI
GoogleMap
.htaccess
LinkedIn
Magento
MySQL
PayPal
Twitter
Ubuntu
WebDesign
WebDevelopment
Ajax
HTML
Java
howsetemojibyunicodeinatextview?
HiI'dliketodothefollowing:
???unicode=U+1F60A
Stringemoji=getEmijoByUnicode(unicode)
Stringtext="Sohappy"
textview.setText(text+emoji);
togetthisinmytextview:
Sohappy????
Howtoimplement'getEmijoByUnicode(unicode)'?
Whatshouldbethetypeof'unicode'?(String/char/int??!)
PleasenotethatIdoNOTwanttouseDrawables!
android
unicode
textview
encode
emoji
Rakesh
3Yearsago
Answers2
Subscribe
SubmitAnswer
kishanpatel
3Yearsago
YoucandirectlyuseEmojisinstringresourcesbyusingthedecimalcodelikethis:
forexample:
延伸文章資訊
- 1How to set emoji by unicode in a textview? - py4u
??? unicode = U+1F60A String emoji = getEmojiByUnicode(unicode) String text = "So ...
- 2How to Input Unicode - Xah Lee
- 3关于android:如何在TextView中通过Unicode设置表情符号?
How to set emoji by unicode in a textview?嗨,我想做以下事情:[cc]??? unicode = U+1F60AString emoji = getEm...
- 4TextDrawable to display emojis and Unicode characters in ...
TextDrawable to display emojis and Unicode characters in Android ... Aligning the text to the tex...
- 5Display emoji/emotion icon in Android TextView | Newbedev
Why do you want to embed the protected Apple emoji images in your application at all? The Unicode...