Languages

Menu
Sites
Language
Editable UI control in Tizen Native like 'input' tag in Web Apps

Hi All
I have found Edit Field and Edit Area controls in Tizen Native .
But I was unable to analyze which keys are pressed by user on QwertyKeypad , to allow/deny some keys.  Another app is launched to input text in these controls (pressed keys did not come to my app). I can't filter input data.
Are there similar UI controls (like 'input' tag in Web)  in Tizen Native?

Thank you in advance.
Alexey.

Responses

3 Replies
youngsik yoon

i didn't try but i guess you can use Tizen::Ui::Controls::EditFieldStyle for edit field and Tizen::Ui::Controls::KeypadStyle for edit area. 

Alex Ashirov

Hi Alexey,

You can use Tizen::Ui::IKeypadEventListener:: OnKeypadActionPerformed()

and

Tizen::Ui::ITextEventListener::OnTextValueChanged()

in order to listen and handle keypad events.  First one can be used to listen a keypad actions like “Enter key is pressed”. Second one allows to monitor text value changes. It is called each time the user presses a key on the keypad.

Alex Dem

Thank you all for responses.
I have changed  input style from INPUT_STYLE_FULLSCREEN to INPUT_STYLE_OVERLAY. The problem has been fixed after. I was able to check pressed key using ITextEventListener or IKeyEventListener.
Alexey.