我得到了这样的回复
Array (
[status] => 9
[message] => Your devices not verify!
)
我使用此代码,但未读取响应Html.fromHtml(jsonString).toString()
那么,如何读取android或json对象格式的内容呢?
i also use
GsonBuilder gsonb = new GsonBuilder();
Gson gson = gsonb.create();
Post pst;
pst = gson.fromJson(jsonString, Post.class);
Post.class
class Post
{
String message;
String status;
}