Hi everyone:
I create a window on the homescreen (ico-uxf-homescreen) by using EFL .
then I create rectangle and listen to keyboard events.
when this window hava focus, it can receive key events without problem.
But when this window in background or under another window. it can not receive
anything.
how can I receive key events in anytime?
src:
Evas_Object *bg = NULL;
bg = evas_object_rectangle_add(evas);
evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, TouchKeyDown, NULL);
evas_object_focus_set(bg, EINA_TRUE);
evas_object_color_set(bg, 255, 0, 0, 255);
evas_object_move(bg, 0, 0);
evas_object_resize(bg, width, height);
evas_object_show(bg);
BR
bray
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi