简体   繁体   English

Android Phonegap应用:打开浏览器到应用的链接

[英]Android phonegap app: open link from browser into app

I'm building a phonegap app which will install on android. 我正在构建一个将在Android上安装的phonegap应用。

I want to somehow allow sharing features on twitter, etc. So you could create a 'post' in the app and people can share it on twitter probably linking to a domain containing the post. 我想以某种方式允许在Twitter等上共享功能。因此,您可以在应用程序中创建一个“帖子”,人们可以在Twitter上共享它,可能链接到包含该帖子的域。

Is there any way in phonegap to allow this link from say twitter (in a browser), to open in the installed app version? phonegap中是否有任何方法可以允许来自诸如Twitter(在浏览器中)的链接在已安装的应用程序版本中打开?

The installed app follows the same url combinations as the web version. 安装的应用程序遵循与Web版本相同的URL组合。

My tutorial: TMT5P1 lets the user log in to their twitter account from the app. 我的教程: TMT5P1使用户可以从应用程序登录其Twitter帐户。 Then they can tweet, see tweets, mentions, etc from the PhoneGap / Android app. 然后他们可以在PhoneGap / Android应用中发推,查看发推,提及等。 Twitter actions are integrated into the app, instead of making the user leave the app to go to twitter website. Twitter动作已集成到应用程序中,而不是使用户离开应用程序转到Twitter网站。

Requires child browser plugin for secure login. 需要子浏览器插件才能安全登录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM