언어 설정

Menu
Sites
Language
APP_EVENT_DEVICE_ORIENTATION_CHANGED does not get called on emulator 3.0 on mac

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 );

Responses

1 댓글
Yasin Ali

Hi~,

Check in your app if any API version conflict exists with your Emulator.

<manifest xmlns="http://tizen.org/ns/packages" api-version=  " ?? " package="org.tizen.***" version="1.0.0">

Check privileges. Ensure all necessary privileges are present, e,g:

<privilege>http://tizen.org/privilege/appmanager.launch</privilege>

You may also try deleting all emulators ( also manually deleting emulator

files from directory ) and recreating new emulators.

Hope it will help.