android emulator having non english keys - android

When I run a program on my android emulator most of the keys are in English. However, on both lower corners there are buttons that look like they are from an Asian language. Also, I am using textAutoCorect, but only Asian characters pop up instead of English words. I know it is not my code, so how would I go about fixing this?

Is this happening when you type into a textedit or something? if so then you want to long click onto the textedit and then select input method and then android keyboard.

Related

Android: Display English keyboard default

Android Kitkat:
Can you give me some hints about the following question ?
Display always English keyboard for a specific edit text field:
Question:
• How can I make sure the English language keyboard is always displayed when the user selects a specific Edit Text field in his tablet where the localization is set to Russian or Japanese or other language ? Basically override the Russian keyboard for a specific textfield
By default, all emulators have the Keyboards for English, Japanese IME
and Chinese installed. Since the keyboard that is used by Android OS
is a user's choice, there is no way to force using a specific keyboard
in the app code. If you want to get rid of the unnecessary keyboards
in the emulator completely, see the following post: Click here
As Christoph said

mobileSetKeyboardType "decimal"

I have a problem on my app in android. I added a code mobileSetKeyboardType "decimal" to show the decimal keyboard to input an amount. But it seems the Dot (".") button, does not work in phone. Works fine in tablet. I tried removing all pKey validations for the amount field but still the same. Anyone have experienced this one on real device? And how did you solve it?
By the way, I added the mobileSetKeyboardType "decimal" on preopencard
Note: I am using Livecode.
I'm posting this as an answer because that allows me to include a formatted script.
What happens if you put the following handler into the field script:
on rawKeyDown theKey
set the text of me to theKey
end rawKeyDown
Don't put this script anywhere else. It might make your stack unresponsive.
What language is your device using? If it is English US, what happens if you change it to English UK (or the reverse, or just change it to either option if you're using a different language)?
The real device keyboard can be a modified version of standard Android keyboard, so its behaviour may vary from device to device.

Android keyboard issue

This is a question re the android SIP (that's what we call it on WP7). Please see the clip at https://dl.dropbox.com/u/39662979/AndroidEmulator.png.
This is a demo app in the commonsware book on android development. It displays textboxes for longitude and latitude and shows a keyboard allowing the digits 0 - 9. * and # to be entered. Of course longitude often requires a negative number but how does one type the minus sign?? I've tried all of the other keys - I'm able to bring up other character sets but no minus sign.
The book shows a minus sign being entered but eluding me.
thanks,
Dean
Had a similar issue on my Galaxy S3:
The numeric keypad of the stock Samsung keyboard shows the digits 0 thru 9 plus one more key with a period and a minus sign combined: .-
Took me quite a while to find that the minus sign requires a double tap, not a long press.
It may be that your keyboard doesn't have the "-" due to your language setting. I'd recommend adding another keyboard (probably the US keyboard) via device Settings and switching to the US keyboard while you're testing.
That means the program is not working correctly
If you run the application on a device or emulator that is configured for English, there is a key, marked with what in English is referred to as a "minus sign" (upper-right button on keypad), that can negate the number typed into the EditText:
You will notice that, in your screenshot, the keyboard is different:
In part, this is because your emulator is not configured for English. It is configured for some other language. You can tell this because some of the keys have Chinese, Japanese, or some similar character set on them.
I do not know precisely what language your device or emulator is configured for. I do not know if one of those keys either is a negation, or leads to a secondary keyboard that offers negation. My guess is that the key in the lower left corner would switch to alternate keysets, but that is just a guess.
My recommendation would be for you to configure your emulator to be for a language that you speak. Then, perhaps the keyboard will be more intelligible to you.

Android : Writing own "handler" for hardware keyboard?

I own an Asus Transformer (first model) with the US keyboard dock.
However, I'm French, and thus have to interact in French pretty regularly, which does include writing accented letters.
As far as I know, the current workaround for doing that is to basically popup the software keyboard, not very convenient.
One implementation of being able to write accented (and other special letters such as ß) with a traditional QWERTY layout is the one used in Mac OS X. For those who don't know, this is accomplished by pressing alt + a-key-which-usually-makes-a-lot-of-sense (I'm not kidding, they really make sense), that will give you the accent, then the letter which you want to be accented (so alt + e, then e will give you é).
That's the behavior I'd like to implement. However, I don't really find where I'd have to do that.
I looked at the documentation about keyboard devices ( http://source.android.com/tech/input/keyboard-devices.html ) but I don't think that's the right place to do any changes as I don't want to change any keymap or keycodes.
On the other hand, I took a glance at https://github.com/android/platform_frameworks_base/tree/master/core/java/android/inputmethodservice (keyboard.java and keyboardview.java in particular) but I have the impression this is more related to software keyboard.
Does anybody have more clues about this ?
Thanks
I had similar problems with entering Russian characters on TF101. I'm more used to phonetic layout than to standard one.
I was able to modify Android example application SoftKeyboard to accomplish that. You can find code at https://protronika.dyndns.org/websvn/listing.php?repname=FLEXKBD&path=%2F&sc=0 .
Sorry, code is very raw with many things hardcoded. I started that project very recently. So it is in "just works" state.

android application arabic support

i have followed tutorial Hello L10 in developer.android official website,but nothing regarding arabic.
what are the steps needed for an android application to be in arabic?
for eg,User can have either a combobox or radio button to choose from english or arabic.(i have done this).
Now if user selects arabic whole application characters should be converted in arabic.
even the keyboard presented should be in arabic?if i have to make custom keyboard for this?or any other way?
i dont have any idea.Any tutorial/demo ?.However i have googled around but not get specific material.
Any suggestion?
Users set their locale at the device level, through the Settings application. If their device supports Arabic -- some devices running Android 2.3 and 3.0 will -- then if your application has Arabic translations of its resources, the Arabic will appear. Also, the user will get an Arabic soft keyboard.
Other than providing Arabic translations for your strings, the rest is up to the user and their device.

Categories

Resources