Reputation: 11
this is the real text "السلام عليكم".
how can I make the output like this " ﻢﻜﻴﻠﻋ ﻡﻼﺴﻟﺍ"?
I tried used this code but the result not like what I want.
StringBuffer buffer = new StringBuffer("السلام عليكم");
buffer.reverse();
// The result "مكيلع مالسلا"
some games not support arabic language on the chat ... I want to build my own keyboard to write arabic verywell on those apps.
Upvotes: 1
Views: 89
Reputation: 89
If you just want to write arabic well in your game then there are several Keyboard apps out there that can solve your problem, Such as:
If you still want to make your own app, you may consider using the ICU4J library: See Documentation Here
Upvotes: 0