Home > Mobile >  Android using third-party browser awakens the app after wake up many times to accept & lt; Intent -
Android using third-party browser awakens the app after wake up many times to accept & lt; Intent -

Time:09-17

Realize the third party company requests for help browser wake up app I set up in the AndroidManifest
Under the condition of normal aroused no problem app runs in the background after click on the browser aroused many times cannot again into this activity's onCreate method if change a browser or kill the app process is can normal to enter the activity's onCreate method again like this & lt; Intent - filter> Also have a cache limits? Do you have encountered the same problem as classmates know help below the answer thank you

CodePudding user response:

https://blog.csdn.net/qXing123456789/article/details/82146807, hope to help you, is a great line

CodePudding user response:

Receive information page as a transparent Activity, jump to the page, close after processing is completed, so as not to appear problem,

CodePudding user response:

Is unable to enter the oncreate, but can't understand for & lt; Intent - filter> There's a cache... But the activity itself is not destroyed, will not be called again into the oncreate... Try copying onNewIntent (Intent Intent) method, this method is similar to the life cycle, specially in the Intent to start the second call... If you want to do in oncreate processing, at the same time in this method call a good
Need to understand the principle, to baidu onNewIntent call time,

CodePudding user response:

Set in the AndroidManifest. XML activitiy boot mode is singleTask
  • Related