2012-09-12 66 views

回答

2

如果您已經在可以處理這些鏈接的瀏覽器上,那麼大多數時候(永遠不會),Android不會尋找其他應用來處理這些鏈接。我看到了這種行爲,我不認爲它可以改變。

唯一方法是使用自己的模式,如已經詳述鏈接你提到:

<intent-filter> 
    <data android:scheme="my.special.scheme" /> 
    <action android:name="android.intent.action.VIEW" /> 
</intent-filter> 

<a href="my.special.scheme://other/parameters/here"> 

然而,這個環節不會對設備沒有您的應用程序工作。你能接受嗎?

相關問題