![]() |
#16 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Thank you very much
|
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Dear Guru, sorry for bothering you again. The digits (0-9) in the Persian (MS) Keyboard are in Latin. Is it possible to have them in Arabic format (like the other keyboard _Persian (Onyx)_ you built and shared)? (۰-۱-۲-۳-۴-۵-۶-۷-۸-۹)
Thanks a lot |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,860
Karma: 16716233
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Ok. This is actually a .zip file with the .apk and three sets of graphics in .png and .svg
|
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
That’s awesome Guru, thank you very much…
|
![]() |
![]() |
![]() |
#20 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
I am so sorry, I assume this is the last one: when I am writing in two languages the arrangement of the words changes. The Arabic is written right-to-left; and as you can see on the text below (1.), the first part ("این کلمه" which should be on right of "English") moves to left and the last part ("است" which should be on the left of "English"") moves to the right. When I type with the virtual keyboards (like Google keyboard) it's OK, but in this keyboard, every time I press the space bar, the cursor goes to the end left side of the line and when I add an English letter an Arabic punctuation mark (as you can see in 2) it goes to the right. Using Alt [4] (RLM) And right-to-left text direction (in office) didn't resolve it
1. این کلمه English است 2. این، Thank you again |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,860
Karma: 16716233
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
All the mechanism of keyboards, layouts and character maps serve to generate a single character. It has no idea of LTR or RTL. That's the business of the editor that you're typing to.
Anytime I've tried to play with RTL I get confused and don't know what's going on. Have you tried using the LTR marker too? I can't understand your examples because I don't know the order that you're hitting the keys. Can you reduce this to an example of 3 keystrokes in an empty buffer that is different for soft keyboard vs hard keyboard? |
![]() |
![]() |
![]() |
#22 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Sorry, disregard this reply. I didn't know how to delete my reply. I will provide the ones you mentioned, soon.
Last edited by hamaviz; 06-16-2022 at 02:12 PM. |
![]() |
![]() |
![]() |
#23 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Sorry again for the previous reply.
In "1" I showed the way the character's order changes when I use my hard keyboard (using Persian (Arabic) keyboard you built, and English (US) keyboard). As you see, first key I pressed is [م] which should be on the right _but is moved to left after pressing the second key in English keyboard (a). 1. مaن First key: [م] (=[L]) key, second key: [a], third key: ن (=[k]) I couldn't write the true order here, since in this box there is no RTL option, and the one I copied from Word, changed when I pasted it here. I could right the true order in this box by using Ctrl+Shift in Windows, and I will write it in the next reply) |
![]() |
![]() |
![]() |
#24 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
When I posted it, the order had changed, so I put the screenshot's link (Word in Onyx Boox Air Note 2)https://drive.google.com/file/d/1eWO...ew?usp=sharing
Last edited by hamaviz; 06-16-2022 at 11:45 PM. |
![]() |
![]() |
![]() |
#25 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,860
Karma: 16716233
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
I have no idea what the problem is.
Maybe your Word is doing stuff. Just use any normal text box. If you start empty and hit something in Arabic then it goes into RTL mode. If you hit something first in English it stays in the default LTR. (The Arabic word I use is what you get when you hit "qwerty".) The first is "qwerty Hello qwerty Goodbye". The second image is "Hello qwerty Goodbye qwerty". They behave as I'd expect. |
![]() |
![]() |
![]() |
#26 |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Yes, yours is completely right. it's strange. When I tested it in another android device Word, it's the same, but when I write in telegram or google chrome address bar, it works well. Maybe it's because of Word as you said.
Anyway, thank you so much again, your help was great and I couldn't do it without you. |
![]() |
![]() |
![]() |
#27 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Quote:
I hope you are keeping well. I have a question for you that I really appreciate it if you help me with that. In windows, "Right- and "Left "Ctrl+Shift" are used to align the text (from the right and left). Is there an equivalent in android for this shortcut? Thank you |
|
![]() |
![]() |
![]() |
#28 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,860
Karma: 16716233
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You could try using the Unicode U+200E (LTR mark, ‎ ) and U+200F (RTL mark, ‏ ).
Since in Android Ctrl, Shift are modifiers, I don't think they can be easily used just by themselves without modifying some code. You can make Ctrl-Shift-LeftArrow be a directional mark. (DPAD_LEFT) Code:
key DPAD_LEFT { ctrl+shift: '\u200f' } key DPAD_RIGHT { ctrl+shift: '\u200e' } When I hit the keys it does wacky LTR/RTL things. (Full disclosure: I don't really understand how LTR/RTL layout works.) You'll need Magisk or root or a loadable keyboard map APK. What language are you typing in? |
![]() |
![]() |
![]() |
#29 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
|
Quote:
Thank you very much for your reply. I'm typing in Persian (R-L) and English. Previously, you kindly provide me with this keyboard, and I'm grateful to you because of that. Is it possible to add this function to it? I don't know how to do it, and I really appreciate it if you help me with that. |
|
![]() |
![]() |
![]() |
#30 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,860
Karma: 16716233
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Oh! Until I scrolled up I forgot about our previous interaction.
Just rename this KbdMaps-1.0.apk |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Note Air 2 | Newby31 | Onyx Boox | 7 | 12-08-2021 06:00 AM |
[K3] Physical keyboard localization | Sir Alex | Kindle Developer's Corner | 112 | 05-19-2018 11:23 PM |
E-Ink Keyboard Concept Marries Best Of Touch And Physical Keys | amjbrown | News | 22 | 02-05-2013 12:06 AM |
Tablet Anyone aware of physical keyboard options for the Nook Tablet line? | bfollowell | Nook Color & Nook Tablet | 2 | 11-09-2012 05:06 AM |
New Kindles = no physical keyboard?? | sparrowlight | Amazon Kindle | 65 | 09-28-2011 06:29 PM |