我只想知道我們如何從URL中檢索所有變量以及它在android(Java)中的值。如何獲得來自url的所有變量的HashMap
如 如果我有如下網址,
http://www.sample.com/json/just_in.asp?variable1=value1&variable2=value2
然後要檢索variable1
和variable2
與它的價值,並將其存儲在hashmap
其中key=variable name(variable1)
和value=variable value(value1)