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? | Newbedev
So Textview displays without Drawable. Try it with http://apps.timwhitlock.info/emoji/tables/unic...
- 2关于android:如何在TextView中通过Unicode设置表情符号?
How to set emoji by unicode in a textview?嗨,我想做以下事情:[cc]??? unicode = U+1F60AString emoji = getEm...
- 3how set emoji by unicode in a textview? - SemicolonWorld
??? unicode = U+1F60A String emoji ...
- 4FAQ - Emoji & Pictographs - Unicode
- 5android - 如何在TextView 中通过unicode 设置表情符号?
嗨,我想执行以下操作: ??? unicode = U+1F60A String emoji = getEmojiByUnicode(unicode) String text = "So hap...