语言

Menu
Sites
Language
operationId coming in OnAppControlRequestReceived

Hi all,
I launch one app from another this way:

Tizen::App::AppControl* pAc = AppManager::FindAppControlN(L"id.appName",
                                                                      L"http://tizen.org/appcontrol/operation/main");

if (pAc)
{
      pAc->Start(null , null, &ExtraData, null);
      delete pAc;
}
All right, but in requested app in OnAppControlRequestReceived I got truncated operationId : http://tizen.org/appcontrol/operation/   instead of
http://tizen.org/appcontrol/operation/main ... For any other operation is the same.
Message is printed this way:
AppLog("OnAppControlRequestReceived %S",operationId.GetPointer());

Is it normal behaviour ? Could you explain please?
p.s. Checked on 2.2.0 official.
Thank you.
Alexey.

响应

3 回复
kimi

Hi,

Have you mentioned the corresponding operationId in the manifest?

 

Kimi.

Alex Dem

Yes I have added in manifest file of requested app.
For example if I use implicit launch:
AppControl::FindAndStart
           (L"http://tizen.org/appcontrol/operation/custom", null ,
               null, null, &extraData, null);
I am able to launch app with registered operation "http://tizen.org/appcontrol/operation/custom" in mainifest but I get truncated operation in OnAppControlRequestReceived() anyway.
Alexey.

kimi

Hi,

In the requested application, you have added IAppControlProviderEventListener right? I am trying with 2.2.1 but the call back to the listener only is not occurng!