Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2022, 11:01 AM   #16
hamaviz
Member
hamaviz began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
Thank you very much
hamaviz is offline   Reply With Quote
Old 06-15-2022, 06:50 PM   #17
hamaviz
Member
hamaviz began at the beginning.
 
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
hamaviz is offline   Reply With Quote
Advert
Old 06-15-2022, 07:51 PM   #18
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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
Attached Files
File Type: zip persian.zip (72.3 KB, 281 views)
Renate is offline   Reply With Quote
Old 06-15-2022, 08:26 PM   #19
hamaviz
Member
hamaviz began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
That’s awesome Guru, thank you very much…
hamaviz is offline   Reply With Quote
Old 06-16-2022, 11:22 AM   #20
hamaviz
Member
hamaviz began at the beginning.
 
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
hamaviz is offline   Reply With Quote
Advert
Old 06-16-2022, 01:11 PM   #21
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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?
Renate is offline   Reply With Quote
Old 06-16-2022, 02:08 PM   #22
hamaviz
Member
hamaviz began at the beginning.
 
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.
hamaviz is offline   Reply With Quote
Old 06-16-2022, 11:25 PM   #23
hamaviz
Member
hamaviz began at the beginning.
 
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)
hamaviz is offline   Reply With Quote
Old 06-16-2022, 11:40 PM   #24
hamaviz
Member
hamaviz began at the beginning.
 
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.
hamaviz is offline   Reply With Quote
Old 06-17-2022, 07:52 AM   #25
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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.
Attached Thumbnails
Click image for larger version

Name:	rtl1.png
Views:	319
Size:	15.1 KB
ID:	194421   Click image for larger version

Name:	rtl2.png
Views:	323
Size:	15.0 KB
ID:	194422  
Renate is offline   Reply With Quote
Old 06-18-2022, 12:47 PM   #26
hamaviz
Member
hamaviz began at the beginning.
 
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.
hamaviz is offline   Reply With Quote
Old 01-05-2023, 02:44 AM   #27
hamaviz
Member
hamaviz began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
Quote:
Originally Posted by Renate View Post
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.
Dear Guru,

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
hamaviz is offline   Reply With Quote
Old 01-05-2023, 07:33 AM   #28
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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'
}
I just tried that. The keycodes come through correctly.
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?
Renate is offline   Reply With Quote
Old 01-05-2023, 11:25 PM   #29
hamaviz
Member
hamaviz began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2022
Device: Onyx Boox Note Air 2
Quote:
Originally Posted by Renate View Post
Ok. This is actually a .zip file with the .apk and three sets of graphics in .png and .svg

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.
hamaviz is offline   Reply With Quote
Old 01-06-2023, 06:27 AM   #30
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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
Attached Files
File Type: prc KbdMaps-1.0.prc (14.9 KB, 149 views)
Renate is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:40 AM.


MobileRead.com is a privately owned, operated and funded community.