答案 0 :(得分:1)
以下是解释:(来自wikipedia)
hierarchical part
┌───────────────────┴─────────────────────┐
authority path
┌───────────────┴───────────────┐┌───┴────┐
abc://username:password@example.com:123/path/data?key=value#fragid1
└┬┘ └───────┬───────┘ └────┬────┘ └┬┘ └───┬───┘ └──┬──┘
scheme user information host port query fragment
答案 1 :(得分:1)
据此 http://developer.android.com/reference/android/net/Uri.html#getPath() 它解码你的道路。阅读完整的文档,以便更好地了解Uri