                                      Intent intent = new Intent(LoginActivity.this, NextActivity.class);                                     intent.putExtra("access", accessdb);                                     intent.putExtra("password", passworddb);                                     intent.putExtra("fullname", fullnamedb);                                     intent.putExtra("branch", branchdb);                                     intent.putExtra("section", sectiondb);                                     LoginActivity.this.startActivity(intent);                                  } catch (JSONException e) {                                     e.printStackTrace();                                 }                              }                             // LOGIN WITH CHECK REMEMBER ME                              // LOGIN WITHOUT CHECK REMEMBER ME                             else {                                 try {                                     JSONObject jsonObject = new JSONObject(resp);                                      final String accessdb        = jsonObject.getString("access");                                     final String passworddb      = jsonObject.getString("password");                                     final String fullnamedb      = jsonObject.getString("fullname");                                     final String branchdb        = jsonObject.getString("branch");                                     final String sectiondb       = jsonObject.getString("section");                                         Intent intent = new Intent(LoginActivity.this, NextActivity.class);                                     intent.putExtra("access", accessdb);                                     intent.putExtra("password", passworddb);                                     intent.putExtra("fullname", fullnamedb);                                     intent.putExtra("branch", branchdb);                                     intent.putExtra("section", sectiondb);                                     LoginActivity.this.startActivity(intent);                                  } catch (JSONException e) {                                     e.printStackTrace();                                 }                             }                             // LOGIN WITHOUT CHECK REMEMBER ME                          