APP_EVENT_DEVICE_ORIENTATION_CHANGED does not get called on emulator 3.0 on mac

APP_EVENT_DEVICE_ORIENTATION_CHANGED does not get called on emulator 3.0 on mac

BY 14 Feb 2017 Native Application Development

Below is the code (generated by tizen studio 1.1.0) and when i test it on simulator/emulator, the call back does not get called. Why why why??? Again, this is a service, not an app. 

 

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px ‘Eco Sans Mono’; color: #0326cc} span.s1 {color: #793d93} span.s2 {color: #000000}

service_app_add_event_handler( &handlers[APP_EVENT_DEVICE_ORIENTATION_CHANGED], APP_EVENT_DEVICE_ORIENTATION_CHANGED, service_app_orient_changed, &ad );

Written by