private void saveEducationServiceProvider(JSONArray educationServiceProvider) {
    EducationServiceProviderTable educationServiceProviderTable =
        new EducationServiceProviderTable(OpeningActivity.this);
    int eduServiceProviderCount = educationServiceProvider.length();

    for (int i = 0; i < eduServiceProviderCount; i++) {
      try {
        JSONObject jo = educationServiceProvider.getJSONObject(i);
        EducationServiceProviderItem et =
            EducationServiceProviderItem.parseEducationServiceProviderItem(jo);
        educationServiceProviderTable.insertItem(et);
      } catch (JSONException e) {
        e.printStackTrace();
      }
    }

    // TODO write this at the end of the last API saving method
    Intent i = new Intent(OpeningActivity.this, LocationAskActivity.class);
    startActivity(i);
  }
 public long insertItem(EducationServiceProviderItem educationServiceProviderItem) {
   return insertItem(
       educationServiceProviderItem.getIdentifierId(),
       educationServiceProviderItem.getServiceProviderId(),
       educationServiceProviderItem.getEduSubCategoryId(),
       educationServiceProviderItem.getCategoryId(),
       educationServiceProviderItem.getEduNameEng(),
       educationServiceProviderItem.getEduNameBan(),
       educationServiceProviderItem.getEduType(),
       educationServiceProviderItem.getHostelFacility(),
       educationServiceProviderItem.getTransportFacility(),
       educationServiceProviderItem.getPlayground(),
       educationServiceProviderItem.getContactPersonDesignation(),
       educationServiceProviderItem.getContactNo(),
       educationServiceProviderItem.getEmailAddress(),
       educationServiceProviderItem.getWebsiteLink(),
       educationServiceProviderItem.getFbLink(),
       educationServiceProviderItem.getRegisteredWith(),
       educationServiceProviderItem.getRegistrationNo(),
       educationServiceProviderItem.getTotalStudents(),
       educationServiceProviderItem.getTotalClasses(),
       educationServiceProviderItem.getTotalTeachers(),
       educationServiceProviderItem.getCourseProvided(),
       educationServiceProviderItem.getShift(),
       educationServiceProviderItem.getCanteenFacility(),
       educationServiceProviderItem.getAdditionalInfo(),
       educationServiceProviderItem.getArea(),
       educationServiceProviderItem.getAddress(),
       educationServiceProviderItem.getLatitude(),
       educationServiceProviderItem.getLongitude());
 }