Languages

Menu
Sites
Language
Touch event wearable native widget

Hello everyone,

I have not found how to catch and propagate touch (tap) event in widget for wearable (native).

Or how to start main application on touch.

Help!

Thank you!
 

Responses

4 Replies
Yasin Ali

Hi~,

You may see
https://developer.tizen.org/development/guides/native-application/user-interface/dali/event-handling .

Hope it will work.
If you find my post is helpful , please mark it as the Best Answer to promote this post to others.

Infoshoc

Is it possible to make widget with it?

Now I am using evas...

GEUNSOO KIM

you can find about widget programming in Help.

Help > Tutorials > Native Application > Application Framework > Widget Application

If your SDK (2.4 r7) does not have contents which titled as "Tutorials", download jar files for here (http://download.tizen.org/sdk/documents/2.4/) and copy them into $TIZEN_SDK_HOME/ide/plugins.

 

Vladyslav Prysiazhnyi

Hello,

Can you explain more?

If you use EFL framework for application and Evas_Object as ui components.

You can add smart callback on button with next function.

evas_object_smart_callback_add(button, "clicked", _clicked_cb, NULL);

 

Also you can use event callbacks such as EVAS_EVENT_DOWN

evas_object_event_callback_add(layout, EVAS_EVENT_DOWN, _down_cb, NULL);

 

As I understand.

You should create ui in Widget application, create some button, add "clicked" smart callback, or use event callbacks on layouts or other evas objects.

and in the callback function call app_control module functions to start main UI application by its application_id.

 

If you explain more about what you wan't, it will be easier to help you.