test
This commit is contained in:
parent
eddd40e845
commit
f98c1abc65
1 changed files with 2 additions and 2 deletions
|
@ -386,10 +386,10 @@ 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 {
|
||||||
|
Log.i("result", result.toString()); // STATIC
|
||||||
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); // STATIC
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue