언어 설정

Menu
Sites
Language
How to extract launch arguments inside app

Hi all,
I have got launch arguments inside OspMain() entry point and I have transfered them in Tizen::App::UiApp::Execute().
How could I extract them in myClass::OnInitializing() for example?
I am trying this way:

    Collection::IList* pArgsList;

    UiApp* pUiApp= UiApp::GetInstance();
    pArgsList=pUiApp->GetAppArgumentListN();

    for (int i=0;i<pArgsList->GetCount();i++)
    {
      AppLog("LaunchArgs=%S", ((String*)pArgsList->GetAt(i))->GetPointer());
    }

    delete pArgsList;

But I can't obtain launch arguments. I have got first argument is 'req00000' and empty strings after.
Is there in Tizen simple way to extract launch arguments (I know GetAppArgumentListN is deprecated)?
Alexey.

Responses

3 댓글
hgw7

Didn't find any method like "GetAppArgumentListN()".

Alex Dem

Thanks.

Alexey.