test
This commit is contained in:
parent
c7b2f28422
commit
c23e487afa
1 changed files with 4 additions and 1 deletions
|
@ -386,8 +386,11 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
public void onPostResponse(JSONObject result) {
|
public void onPostResponse(JSONObject result) {
|
||||||
Log.i("a", "23"); // STATIC
|
Log.i("a", "23"); // STATIC
|
||||||
try {
|
try {
|
||||||
if(result.has("hash")) // STATIC
|
if(result.has("hash")) { // STATIC
|
||||||
currentHash = result.getString("hash"); // STATIC
|
currentHash = result.getString("hash"); // STATIC
|
||||||
|
Log.i("result", result.toString());
|
||||||
|
Log.i("currenthash", currentHash);
|
||||||
|
}
|
||||||
if(result.has("key")) // STATIC
|
if(result.has("key")) // STATIC
|
||||||
setKey(getBaseContext(), result.getString("key")); // STATIC
|
setKey(getBaseContext(), result.getString("key")); // STATIC
|
||||||
if(result.has("timeout")) { // STATIC
|
if(result.has("timeout")) { // STATIC
|
||||||
|
|
Loading…
Add table
Reference in a new issue