0

i have get response like this

Array ( 
    [status] => 9 
    [message] => Your devices not verify! 
)

i use this code but not read response Html.fromHtml(jsonString).toString()

so,how can read this in android or json object format?

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;

        }
Community
  • 1
  • 1
Adil Saiyad
  • 1,582
  • 2
  • 17
  • 34

0 Answers0