Android Open Source - Courses_Scheduler Courses D B






From Project

Back to project page Courses_Scheduler.

License

The source code is released under:

MIT License

If you think the Android project Courses_Scheduler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.courses;
//from   w  ww  .java 2s.  c  om
import android.content.Context;

public class CoursesDB {

  // private variables
  int _id;
  String _modcod;
  String _modname;
  String _locationS;
  String _commentsS;
  String _typeselect;
  String _dayselect;
  int _strTimeHour;
  int _strTimeMin;
  int _endTimeHour;
  int _endTimeMin;

  // Empty constructor
  public CoursesDB() {

  }

  // constructor for database
  public void CoursesDB(int id, String modcod, String modname,
      String locationS, String commentsS, String typeselect,
      String dayselect, int strTimeHour, int strTimeMin, int endTimeHour,
      int endTimeMin) {
    this._id = id;
    this._modcod = modcod;
    this._modname = modname;
    this._locationS = locationS;
    this._commentsS = commentsS;
    this._typeselect = typeselect;
    this._dayselect = dayselect;
    this._strTimeHour = strTimeHour;
    this._strTimeMin = strTimeMin;
    this._endTimeHour = endTimeHour;
    this._endTimeMin = endTimeMin;
  }

  // constructor for database (without id)
  public void CoursesDB(String modcod, String modname, String locationS,
      String commentsS, String typeselect, String dayselect,
      int strTimeHour, int strTimeMin, int endTimeHour, int endTimeMin) {
    this._modcod = modcod;
    this._modname = modname;
    this._locationS = locationS;
    this._commentsS = commentsS;
    this._typeselect = typeselect;
    this._dayselect = dayselect;
    this._strTimeHour = strTimeHour;
    this._strTimeMin = strTimeMin;
    this._endTimeHour = endTimeHour;
    this._endTimeMin = endTimeMin;
  }

}




Java Source Code List

com.example.courses.CoursesDB.java
com.example.courses.DatabaseHandler.java
com.example.courses.Details.java
com.example.courses.MainActivity.java
com.example.courses.NewCourse.java
com.example.courses.Nottt.java
com.example.courses.Settings.java
com.example.courses.ShowCourses.java
com.example.courses.Wcourses.java