언어 설정

Menu
Sites
Language
RegardingNativeAppliationDevelopment_C/C++

Hello All,

I have an aplication  written in C and C++ that needs a set of files for its execution.I choose EFL libraries for its development.Once it is compiled ,i created a .rpm package am able to run itin Emulator.The .rpm package consists of excutable,icon and files.I got different results like 

  •  when I click the icon in Tizen Emulator it is showing some  result.
  • when the run the executuable in shell associated with emulator,the result is different when compared with the result of Emulator. 
  • Both results are displaying in the Emulator.

One more info the result depends on the files present in the package.When I cross verified,the current working directory ,it is showing differently when i click th icon in Emulator and ran the executable in Tizen shell.So,I think there is a limitation of accessing the files.Please let me know where i have to place these dependent files,so that application works properly. 

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
Carlos Gomez
naveenkpt - Are you seeing text being replaced by the "IDS_TEXT_NAME"?  If yes then please retest the shell by typing the *full path* to the application.  The reason why I ask is as follows.   Here is what I am seeing with the built-in 2.0.0a Task Switcher (/opt/apps/org.tizen.taskmgr/bin/taskmgr) application :       Carlos
Naveen Kumar
Hello, I found the root cause for my problem but  i have one more question.
  • The reason is,actually there are users like root and app in the Tizen shell Emulator.When I push the package into the Emulator,I observe that the executable "owner and group" are app but the data files moved along with the execuatable "owner and group" is root.
  • So,when i run it in the shell,the user will be root.The app is working properly.
  • But When I click the application icon from the Emulator,now the user will be "app'.So,application is not workng properly.
  • To run it properly I changed the the owner and group permission of data files to "app" inside the shell.
  • Now the application is working properly when I click the icon from the Emulator. .
  • Please let me know how to change the Files owner and group permissions to app while pushing the package into the Emulator.
 
Carlos Gomez
naveenkpt - Yes, the user that was running the application effected the behavior for me also.  When I run from the shell it runs as root.   When I run from the "Desktop" icon it is running as "app" user. Carlos
QA Test Team
Thank you for posting!