Languages

Menu
Sites
Language
Displaying IME on Entry automatically

Dear All, 

I'm a beginner about delevoping Tizen application.

Since I'm try to make a list with supporting search function, I added entry with gen list. 

By the way, I got to know how to display IME but it seems hard to put focus on the entry to enable for user to enter search keyword except touching the entry. 

Is there any way to put focus on the entry widget with displaying IME automatically at the same time?

 

Thank you for the advices in advance. 

View Selected Answer

Responses

3 Replies
Alex Dem

Hi,
Per my opinion it should works with elm_object_focus_set(entry), but I was unable to set focus this way ( in tizen 2.3.0 rev 2 , emulator).
It looks strange because of for the same 'entry' elm_object_focus_allow_get(entry) returns true.
Alexey.

Mark as answer
Vikram

Hi, you should call the elm_object_focus_set after evas_object_show. Regarding focus details please check on IDE help, search "focus", check the first item ("Widget Focus"). Below sample code works fine on my local environment, Tizen SDK Rev2, Samsung Z1.

    evas_object_show(entry);
    elm_object_focus_set(entry, EINA_TRUE);

 

Shawn Lee

Hi Alex and Vikram, 

 

Since I misunderstood that 'evas_object_show(entry)' was already called in my project before I tried several ways to handle it, the problem has been solved in seconds with your answers. 

Thank you so much for your great help.