Javascript-how to notify IOS and Android apps to jump to the corresponding page on a webpage

Source: Internet
Author: User
Tags what interface
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 fromHttpFor example, defineAbcProtocol listener. When a webpage is linkedAbc: // xxxThe 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.