0

我想为所有意图注册我的应用程序,例如:http ://maps.google ...

当我像这样在清单中注册我的应用程序时:

 <data android:scheme="http" />

我得到了所有的 http 意图。但我只想要http://maps.google的意图。我尝试注册不同的计划,但没有任何效果。有任何想法吗?

4

1 回答 1

1

添加

android:host="maps.google.com"

作为第二个属性。

于 2013-09-23T20:31:51.230 回答