Languages

Menu
Sites
Language
Show keyboard on EFL Widget Application

Hi,

I created an EFL Widget Application which contains Entry. However when I get focus on this Entry soft keyboards appears but it doesn't work as expected, back button doesn't work, I cannot delete text using backspace, and cannot hide keyboard. 

Question is: Is it possible to use Enty in the widget?

Responses

3 Replies
Shaswati Saha

Hi,

I've tried to do the same thing and faced the similar problem you've mentioned above. Unfortunately, I couldn't find any documentation about the restrictions of using UI components like Entry in Native Widget App. I've tried with both real device and emulator. I could finally manage to hide the keyboard when the widget is invisible to the user. I'm sharing my code below though it seems to be of no use to me as text can't be deleted using backspace. 

static int
widget_instance_pause(widget_context_h context, void *user_data)
{
	widget_instance_data_s *wid = NULL;
	widget_app_context_get_tag(context,(void**)&wid);

	elm_entry_input_panel_hide(wid->label);
	return WIDGET_ERROR_NONE;

}

Nonetheless, I guess you've also developed an UI app as standalone widget app isn't allowed to Tizen store. In that case, you may redesign your app and launch the UI app from the widget to take an input from the user. 

Kamil N

Thank you for sharing your code! I will try to use it. My app has UI app as a host but widget is designed to quick input text without opening an app.

Thanks!

Kamil

Shaswati Saha

Was my code helpful to you? Could you implement this? What's the status right now?