2014-10-28 69 views
-1

任何人都可以请告诉我如何从特定网址启动android应用程序。 如果我从邮件中获取此URL。启动与特定网址链接的Android应用程序

请建议我如何在特定网址上打开应用。

+0

http://stackoverflow.com/questions/2958701/launch-custom-android-application-from-android-browser – 2014-10-28 13:25:10

+0

HTTP: //stackoverflow.com/questions/3469908/make-a-link-in-the-android-browser-start-up-my-app/3472228#3472228 – 2014-10-28 13:25:53

回答

0

一种选择是拥有一个网站,并为该网站上的特定URI拥有一个意图过滤器。例如,这是市场并拦截在其网站上的URI:

<intent-filter> 
     <action android:name="android.intent.action.VIEW" /> 
     <category android:name="android.intent.category.DEFAULT" /> 
     <category android:name="android.intent.category.BROWSABLE" /> 
     <data android:scheme="http" android:host="market.android.com" 
      android:path="/search" /> 
    </intent-filter> 
+0

我使用http://www.jobdiagnosis.com/但它不工作 – 2014-10-29 09:16:10