This question already has an answer here:
How do I use the Keydown event to get the correct character in multiple languages/keyboard layouts?
(1 answer)
Closed 3 years ago.
I am building an application designed for Hebrew speakers.
The code keyEvent.KEYCODE_ENTER gives me the KeyCode for Enter on the english keyboard. How do I find out what is the KeyCode for Enter on the hebrew keybord?
Please find it out here by loading this page, focusing the text box and pressing the key you want to investigate (Enter in your case):
https://www.w3.org/2002/09/tests/keys.html
Related
This question already has an answer here:
how do i create and use custom vocabulary with sirikit?
(1 answer)
Closed 4 years ago.
I have some troubles to add custom vocabulary to Siri.
I have implemented Siri in my app and it works well with classical commands. However, I tried to add a custom phrase and it doesn't recognized it.
I tried the two ways described in "https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/SpecifyingCustomVocabulary.html#//apple_ref/doc/uid/TP40016875-CH6-SW1" and followed all the steps.
Do you have any other tips or explanations ? Or could you tell me how I can debug this because I have no clue of what happening, if my AppIntentVocabulary.plist is taken into account or not for exemple.
Answer https://stackoverflow.com/a/48861352/1351327.
A lot of people faced this problem like me in the past.
We should wait Apple to add new intent domains. Open radar has so many requests for that.
This question already has answers here:
Get Description of Emoji Character
(4 answers)
Closed 6 years ago.
I'm making an app which reads text aloud.
I want to be able to convert the emoji into speech as well by using their names.
So
đ -> Grinning Face
đ -> Smiling Face With Open Mouth and Smiling Eyes
đ -> Speak-No-Evil Monkey
And so on.
Is there a framework or function to achieve this?
Cheers.
This links to a repository containing the mapping from emoji unicode to description. Also check this answer.
To read it out, get familiar with AvSpeechSynthesizer
This question already has answers here:
SendKeys in Delphi 2010
(3 answers)
Closed 6 years ago.
I need to send several virtual keys (VK_RETURN) from my delphi application (myapp.exe) into another application such as (notepade).
The OS that I use are Windows 10 64 bit.
I read : How to send an "ENTER" key press to another application? , Delphi XE - Send Ctrl+Key to 3rd Party Application (did not work for me) and other previous asked question. But still I'm getting confused.
How to set the focus to the target application ?
How to send the virtual keys to the targeted application ?
Simple example : I want to send password into another program at runtime from my delphi application. How to do that ?
PS : I tried PostMessage() and SendMessage().
You could look at using SendKeys - I have in the past. But as David has said in comments to your post this is probably not the best way of going about it.
In any case, here is a link to a stack overflow question with some code examples that you might find useful.
SendKeys in Delphi 2010
This question already has an answer here:
Handling non-ascii characters in textField:shouldChangeCharactersInRange:replacementString:
(1 answer)
Closed 7 years ago.
I have an app that gets the users name and email address. I want to prevent special UTB characters like ĂȘ and wondering how to prevent them? I don't care if the person wants it in their name as it is screwing up the backend.
I want to turn all ĂȘ into e. Also any similar. Is there a way to prevent the keyboard to offer those up? Though it doesn't prevent someone from copying a pasting.
Yes, the backend should handle these, but the deliver that did isn't around and I don't want to pay to fix it. Just need to prevent on the client app.
Is there a way to prevent the keyboard to offer those up? Though it doesn't prevent someone from copying a pasting
Implement the UITextFieldDelegate method textField:shouldChangeCharactersInRange:replacementString: to replace any non-ASCII characters with their ASCII equivalents. This will prevent pasting as well as keyboard text entry of non-ASCII characters.
This question already has answers here:
Get current time with a phone number
(3 answers)
Closed 5 years ago.
We have software that displays phone numbers, and we need to dynamically show what time it is at that phone number. Clearly the system wont be perfect because of portability with cell phones, but its important we can approximate. Is there a library or api that does this with rails? Or at worst a simple text database we can download and use?
You can download a database from NANPA which gives Country, State/Province, etc. from which you should be able to map timezone pretty easily. NANPA administers the area code assignments, so the database should be authoritative.