Click here to Skip to main content
15,896,348 members

Comments by giaosucan (Top 1 by date)

giaosucan 13-Mar-15 4:57am View    
Did you debug this line:

JSONObject json_data=new JSONObject(result);
code=(json_data.getInt("code"));
which value display or you got the exception?
Or you may change the "Toast.makeText(getBaseContext()" to "Toast.makeText(MainActivity.this"