Login  Register

Re: LWUIT NEWT JOGL Enlightenment Wayland - Tizen Phone

Posted by Peter on Oct 26, 2015; 3:59am
URL: https://forum.jogamp.org/LWUIT-NEWT-JOGL-Enlightenment-Wayland-Tizen-Phone-tp4035335p4035592.html

I agree, being forced to use Enlightenment would be lousy, will let you know how I get on.  Although at first appearance, this appears to be the case, due to documentation focusing on Enlightenment based development, I think the privilege model is the issue.  Tizen uses Smack for mandatory access control.

All necessary libraries are in place in Tizen 2.3.1 (will let you know what I find in Tizen 2.4):

sh-4.1$ ls /usr/lib/libEGL.so
/usr/lib/libEGL.so
sh-4.1$ ls /usr/lib/libG*
/usr/lib/libGLESv1_CM.so    /usr/lib/libGLESv2.so    /usr/lib/libGLESv2.so.2
/usr/lib/libGLESv1_CM.so.1  /usr/lib/libGLESv2.so.1


The security framework requires applications to declare necessary privileges in the application package manifest.

In this case I think I need to declare a socket privilege in the manifest in order to open a socket to the X server.

Some useful links for anyone attempting to use Tizen:

https://wiki.tizen.org/wiki/Porting_Guide/Graphics_and_UI
https://wiki.tizen.org/wiki/Security/Privileges_Study_For_Tizen3/List_Of_Privileges#Table_of_all_the_privileges
https://wiki.tizen.org/wiki/Security/Application_installation_and_Manifest
http://schaufler-ca.com/home
https://wiki.tizen.org/wiki/Security/Overview
https://developer.tizen.org/development/getting-started/native-application/tizen-application-model

With respect to Java, I need to develop an application wrapper in C, that uses JNI to invoke Java, provided I can solve the privilege issue.

Regards,

Peter.