Hiding the keyboard in S40 Lwuit Nokia - java-me

I don't find the way to do a simple this like hide the keyboard when I want to.
I've a Commandand a TextField. The user can write in the TextFieldand when he press the command the keyboard must hide, but I don't know how to do that.

I've found the way to do that!
Using Component.requestFocus() in other Component of the Form, the keyboard hides!
Does Anyone know other way?

I´m not sure but try something like this...
com.sun.lwuit.VirtualKeyboard.getVirtualKeyboard(myTextField).setVisible(false);

Related

Codeacademy: Move to next lesson with keyboard

I know that when you want to enter your code, you can press command(or windows) + Enter. But after that, you have to click the arrow at the bottom of the screen to go forward. Does anyone know if there's a keyboard shortcut to get past this? I can't figure it out.
The reason I ask is I'm using an external keyboard, since the keys on my laptop are getting sticky. So I'm a good distance away from the track pad when I'm working. Thanks.
I don't found also this.
But i check a few card with lession and all the forward button have same id = id="discovery-next".
I think there is way to make a macro for using this ;P

Program for creating a Keyboard "CheatSheet"

I'm already searching for a while for a program to create a kind of Keyboard Cheatsheet like this:
The Keyboard Designer unfortunally doesn't support writing text below the keys.
It should be a program Windows or Linux. Also a good template in TeX would help.
Because I didn't found any program or TeX-Template for this, I used a picture from katsbits.com as template.
For anyone who want to do the same in a shorter time, here the GIMP-File. It will be looks like

Entering text in Windows 8 in C#/MonoGame app

I'm writing a WinRT game for Windows 8, in C#, using the excellent MonoGame. I've reached the part where the user has achieved a high score and needs to enter their name. This is causing me more pain than I'd anticipated so I thought I'd ask for help.
First of all, is there a simple "enter some text" function that I can call, similar to Guide.BeginShowKeyboardInput in Windows Phone 7, or the ancient InputBox command in VB? I'm using Windows.UI.Popups.MessageDialog for displaying simple dialog messages, but can't find any similar thing for requesting text from the user.
Failing that, is there a way I can easily use a little piece of XAML to present a textbox for the user to use?
If neither of these are possible, I guess I'll have to wire this all up myself... I then would plan to intercept keystrokes and display the required text on screen myself. As I don't have a physical tablet (just the simulator) I'm struggling to start with this. How can I:
Detect whether the device has a physical keyboard, so I know whether or not to display the on screen keyboard?
If there is no physical keyboard, how can I show and hide the on screen keyboard?
Some of these sound like they should be easy to answer, but I've yet to track down answers to any of them.
Many thanks!
Adam.
Hey there is such a way to do this in monogame. There is a new template that allows you to create a XAML + Game game which allows you to use the game class you a used to with the xaml bits as well. These links should get you started. The monogame team rocks.
There are the three game types listed there. You want XAML + Game there is a template for it now if you get the proper version of monogame.
https://github.com/mono/MonoGame/wiki/Windows-8-Project-Types
let me know if you need more help
This is not a cross platform solution but you could use a FlyOut and place the controls for data entry on the window. FlyOut guidelines are here and UI Controls for text input guidelines are here. I have also used MessageDialog in a MonoGame for asking the user simple questions (up to 3 options) or to get a Yes|No response. You can get details of that class here.

Windows 8 - Display soft keyboard when opening the charm search bar

In my application, I open programatically the charm search bar with this kind of code :
Windows.ApplicationModel.Search.SearchPane.GetForCurrentView().Show();
But I would like to open the soft keyboard so the use can directly search text without having to touch the text input.
I understood that I can not control the keyboard, so I have to set the focus to the search text block.
Did anyone have to solve this kind of issue ?
This isn't possible. Opening the soft keyboard MUST be triggered by a touch event. See here for an explanation.

How do I stop wxhaskell from beeping on enter in text controls?

I've played around with processEnter, on command, and on anyKey with textEntry to no avail. I've been looking through the massive amount of documentation for wx-core, but I don't see anything that'll help. I'm using wxhaskell 0.13.2.1 on Windows 8.
You need to use wxTE_PROCESS_ENTER style to have a chance of capturing the Enter key in a wxTextCtrl. If you don't use it, this key is used for activating the default dialog button -- or beeping, under Windows, if there is no such button.

Resources