Reputation: 3595
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
Upvotes: 1
Views: 1788
Reputation: 301
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.
Upvotes: 3
Reputation: 1007544
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.
Upvotes: 0
Reputation: 39480
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.
Upvotes: 0