0
您好,我必須做瀏覽器和Android應用程序之間的連接。我提到了鏈接[http://stackoverflow.com/questions/2958701/launch-custom-android-application-from-android-browser.][1] 他們建議使用特殊方案。模擬器上的Android應用程序路徑
<intent-filter>
<data android:scheme="my.special.scheme" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
和路徑會像在你的web應用程序<a href="my.special.scheme://other/parameters/here">
。
我在模擬器上運行它。通過本地主機地址。會有什麼
我已經給
<intent-filter>
<data android:scheme="http" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
和Web應用程序上的按鈕操作
<FORM METHOD="LINK" ACTION="Integration://hello">
<INPUT TYPE="submit" VALUE="Clickable Button">
</FORM>
u能告訴我在哪裏,我在做錯誤的特殊方案的確切路徑 。或什麼是正確的路徑然後
好的。我是否必須通過任何你寫過的參數? – Naina
給出錯誤。網址爲http:// Integration /?可能會暫時關閉,或者可能已永久移動到新的網址。 – Naina
請參閱此答案http://stackoverflow.com/a/2958870/1321873哪些正確解釋了用法。你可以發佈你使用過的代碼嗎? – Rajesh