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:
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.
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.
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio
BY
30 Oct 2023
Tizen Studio