app/src/main/java/com/google/android/gms/fit/samples/basichistoryapifinal/EditProfile.java
public  void AddtoDB() {
        boolean isInserted = profiledb.updateDataT1(username,
                Integer.parseInt(age.getText().toString()),
                Integer.parseInt(weight.getText().toString()),
                mdformat.format(calendar.getTime()).toString(),
                Integer.parseInt(stepgoal.getText().toString()),
                Integer.parseInt(calgoal.getText().toString()));
    }
/*
    Updating user info on the local database
     */
Updating user info on the local database
Updating user info on the local database
public  void AddtoDB() {
        boolean isInserted = profiledb.updateDataT1(username,
                Integer.parseInt(age.getText().toString()),
                Integer.parseInt(weight.getText().toString()),
                mdformat.format(calendar.getTime()).toString(),
                Integer.parseInt(stepgoal.getText().toString()),
                Integer.parseInt(calgoal.getText().toString()));
    }
public void AddtoDB ( ) { boolean isInserted = profiledb . updateDataT1 ( username , Integer . parseInt ( age . getText ( ) . toString ( ) ) , Integer . parseInt ( weight . getText ( ) . toString ( ) ) , mdformat . format ( calendar . getTime ( ) ) . toString ( ) , Integer . parseInt ( stepgoal . getText ( ) . toString ( ) ) , Integer . parseInt ( calgoal . getText ( ) . toString ( ) ) ) ; }
Updating user info on the local database
Updating user info on the local database