Hi, I need to start an app with args. I use intent: to launch it, but it has a negative effect - the app always starts with main activity.
Now I use hoff://ru.hoff.tablet#Intent;action=android.intent.action.VIEW;S.data=custom_data;launchFlags=0x20002000;end
Is there any way to launch an application with arguments that it doesn't switch its screen after pressing the home button and launching it again?
I've tried doing some tests as described here but failed.
android-app://ru.hoff.tablet.prodsrv.idx2#Intent;S.data=custom_data;end
No Activity found to handle Intent { act=android.intent.action.MAIN flg=0x10800000 pkg=ru.hoff.tablet.prodsrv.idx2 }
android-app://ru.hoff.tablet.prodsrv.idx2#Intent;action=android.intent.action.VIEW;S.data=custom_data;end
No Activity found to handle Intent { act=android.intent.action.VIEW flg=0x10800000 pkg=ru.hoff.tablet.prodsrv.idx2 }