This mobile application, for now, should only notify a new event, where an EVENT is related to the observation and detection of a passing meteor. Each event is new tuple containing some information like eventDate, stationInfo and more...
Commit only working code
Giuseppe D'Agostino
Giovanni PedĂ
Pasquale Labate
Having trouble with some stuff in our project? ...your life is not good enough!
DaoAccess, DatabAse and UserData are the classes that implements the use of Rom DataBase. You can invoche a insert / read function in this way:
private static final String DATABASE_NAME = "userdata_db";
private DataBase dataBase;
// WRITE
new Thread(new Runnable() {
@Override
public void run() {
UserData userData = new UserData();
userData.setUserId(99);
userData.setUsername("username");
userData.setPassword("password");
dataBase.daoAccess () . insertOnlySingleUserData (userData);
}}) .start();
//Read
new Thread(new Runnable() {
@Override
public void run() {
UserData userData_ = dataBase.daoAccess () . fetchOneUserDatabyUserId (99);
System.out.print("----->>> "+ userData_.getUsername());
}}) .start();
- Write MORE Tests
- Add Night Mode
Free Software, Hell Yeah!