[Tizen Application-dev] Unable to load some of the Tizen extensions for Crosswalk

Leon Anavi leon.anavi at konsulko.com
Fri May 29 17:02:48 GMT 2015


Hi,

I noticed that not all of the Tizen specific APIs are available in web 
apps on Tizen:Common built for HummingBoard (Freescale i.MX6 ARM) using 
Yocto. My research shows that some of the Tizen extensions for Crosswalk 
are not loaded. These extensions are successfully built and shipped in 
the image:

root at cubox-i:~# ls /usr/lib/tizen-extensions-crosswalk/
libtizen.so         libtizen_content.so libtizen_messageport.so        
    libtizen_phone.so libtizen_time.so
libtizen_alarm.so     libtizen_download.so 
libtizen_network_bearer_selection.so  libtizen_power.so libtizen_utils.so
libtizen_application.so  libtizen_filesystem.so libtizen_nfc.so        
        libtizen_speech.so libtizen_websetting.so
libtizen_bluetooth.so     libtizen_media_renderer.so 
libtizen_notification.so           libtizen_system_info.so
libtizen_bookmark.so     libtizen_mediaserver.so libtizen_package.so    
        libtizen_systemsetting.so

The path to the extensions at Crosswalk service configuration file is 
correct:

root at cubox-i:/# cat /usr/lib/systemd/user/xwalk.service | grep xwalk
ExecStart=/usr/lib/xwalk/xwalk 
–external-extensions-path=/usr/lib/tizen-extensions-crosswalk

After launching a web app not all of the extensions are loaded:

root at cubox-i:/# lsof /usr/lib/tizen-extensions-crosswalk/libtizen*
COMMAND   PID USER  FD   TYPE DEVICE SIZE/OFF NODE NAME
SM31mV8fq 783  bob mem    REG  179,2   122604 1918 
/usr/lib/tizen-extensions-crosswalk/libtizen_time.so
SM31mV8fq 783  bob mem    REG  179,2    89640 1913 
/usr/lib/tizen-extensions-crosswalk/libtizen_websetting.so
SM31mV8fq 783  bob mem    REG  179,2   267140 1908 
/usr/lib/tizen-extensions-crosswalk/libtizen_mediaserver.so
SM31mV8fq 783  bob mem    REG  179,2   234208 1910 
/usr/lib/tizen-extensions-crosswalk/libtizen_media_renderer.so
SM31mV8fq 783  bob mem    REG  179,2   130672 1903 
/usr/lib/tizen-extensions-crosswalk/libtizen_notification.so
SM31mV8fq 783  bob mem    REG  179,2   135408 1911 
/usr/lib/tizen-extensions-crosswalk/libtizen_speech.so
SM31mV8fq 783  bob mem    REG  179,2   109732 1901 
/usr/lib/tizen-extensions-crosswalk/libtizen_messageport.so
SM31mV8fq 783  bob mem    REG  179,2   147156 1914 
/usr/lib/tizen-extensions-crosswalk/libtizen_phone.so
SM31mV8fq 783  bob mem    REG  179,2    23080 1917 
/usr/lib/tizen-extensions-crosswalk/libtizen_utils.so
SM31mV8fq 783  bob mem    REG  179,2    33168 1921 
/usr/lib/tizen-extensions-crosswalk/libtizen.so

Why the rest of the extensions are not loaded? How can I load them?

Thanks,
Leon

-- 
Leon Anavi
Software Engineer
Mob : +359 88 527 7901
konsulko.com



More information about the Application-dev mailing list