Hello, members of the forum. Faced such a problem:
It is possible to launch my app through a specific link (from sms, from the page it doesn’t matter, just follow the link). So launching the application, I get this link and do operations with it. But this all works only if the app has not already been launched. And when it is launched: Yes, when, I click on the link and select my app, it starts. But the data that I'm trying to get (link) in the intent is already zero.
At first, I thought that the problem is that I start splashing the screen (and this is the first activation when the application starts, which is clear from the name is killed later and no longer worries). But when I registered the intents of the filters to another activity, which is not killed, the result was the same - when you first start it works, then no, the intensity is empty.
What can this problem be connected with?
getIntent
or Bundle passed to the "onStart" method? Yes, and set the normal theme. - KoVadimActivity.onNewIntent(Intent intent)
will help you? - atwice