언어 설정

Menu
Sites
Language
Passing parameters when starting another application

Hello.

I would like to know if it is possible to pass parameters to an application when launching it via Tizen::App::AppManager.

RegisterAppLaunch() call does take a list of parameters for launched application, but LaunchApplication() does not seem to.

I was able to circumvent this by storing the needed parameters in some storage and reading them in my second application, but it would be good to know if there is some more direct way.

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

Responses

2 댓글
youngsik yoon
LaunchApplication seems to be able to take list of parameters even if there is no description on it in dev guide. you can see 2 LaunchApplication function declaration.(with and without list of parameters) in fAppAppManager.h ex) "LaunchApplication(const AppId& appId, const Tizen::Base::Collection::IList* pArguments, LaunchOption option = LAUNCH_OPTOIN_DEFAULT)" so you can use it. there is some comments that this function sending argument is deprecated and recommend to use appcontorl::start() instead.
youngsik yoon
but still you can use it