Languages

Menu
Sites
Language
How can I retrieve and use arguments passed to Execute API?

Hi,

Wanted to use arguments that are passed to my application in the application. However I am not able to understand how arguments that are passed to "Execute(tizenSrvAppProject2App::CreateInstance, pArgs)" API for launching the application, can be retrieved and used in my code. Kindly help me on the same.

Thanks in Advance

Responses

1 Replies
Alex Dem

Hi,
Here is my topic regarding the same :
https://developer.tizen.org/forums/native-application-development/how-extract-launch-arguments-inside-app
I have tried to use deprecated method GetAppArgumentListN() but was unable to extract arguments (from UiApp instance).
I think you need to save args independently (in some helper class) and extract them when you need.
Or please use 'Application Contols' approach.
Alexey.