Ant*_*ony 3 android android-intent
我正在尝试获取从我的应用程序拦截的路径或 URL。
示例网址:http://myapp.com/foo/bar/145
我想得到:/foo/bar/145
Uri data = getIntent().getData();
String path = data.getPath() // gives "/"
Run Code Online (Sandbox Code Playgroud)
我怎样才能得到/foo/bar/145?
| 归档时间: |
|
| 查看次数: |
8724 次 |
| 最近记录: |