In this case, you can open a third-party lottery page in the app and enter only one link to the place where you receive the prize. My own page should also be opened in the app. Then, how can I close the page and notify the APP? go to the desired interface? Give the keyword or implementation method .. For help, you can open a third-party lottery page in the app and enter only one link to the place where you receive the prize. My own page should also be opened in the app. Then, how can I close the page and notify you? what interface does the APP go? Give the keyword or implementation method .. Help
Reply content:
In this case, you can open a third-party lottery page in the app and enter only one link to the place where you receive the prize. My own page should also be opened in the app. Then, how can I close the page and notify the APP? go to the desired interface? Give the keyword or implementation method .. Help
Set a response protocol in the App, preferably different fromHttp
For example, defineAbc
Protocol listener. When a webpage is linkedAbc: // xxx
The system automatically opens the App and submits the address to the App for processing. At this time, the App can perform corresponding operations by identifying the parameters in the address.
Generally, a protection page needs to be created after the page, that is, if the user does not install the App or the browser does not support it (the third-party browser may not support it) instead of closing the page.
Keywords: webpage opening App there are many related technical tutorials
If it is me, We will intercept it in shouldOverrideUrlLoading of webviewclient.