雷明顿 狙击枪 二战:用intent-fliter 过滤http地址

来源:百度文库 编辑:九乡新闻网 时间:2024/05/03 01:07:21
我想拦截下面两周地址
http://www.domain.com/#id=abcdef123346
http://www.domain.com/social/landing/abcdef123456
但是不知道怎么用 intent-filter data 参数来实现,
这是用来拦截第一种地址的,但是不好使:

  1.             
  2.             
  3.             
  4.             
  5.                 android:scheme="http"
  6.                 android:host="www.domain.com"
  7.                 android:pathPattern="/#id.*" />
  8.         
复制代码 下面的可以正常拦截第二个:

  1.             
  2.             
  3.             
  4.             
  5.             
  6.             
  7.             
  8.             
  9.         
复制代码 哪位大神帮忙解决一下第一个,谢谢了~