5 years ago (2016-01-01)  Software development Technical application |   First to comment  8 
post score 0 times, average 0.0

Some websites have set a link on the page to jump to their official app, such as JD. Recently, I added this feature to Wang Baiyuan’s blog client to open links on web pages and call my client to open related articles. .The following is the implementation method:

Android implementation opens a specified link to call other applications

Add an intent-filter tag in the AndroidManifest.xml manifest file of the Activity that needs to jump to the specified link, and set the scheme, HOST, and other attributes as shown in the following example.

And made a web page test successfully:



This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/android-open-specified-link-call-other-app-2.html

Post comment


No Comment


Forget password?