Back to project page Rejsekort-Reminder.
The source code is released under:
GNU General Public License
If you think the Android project Rejsekort-Reminder listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.publictransportation.profiles; //from w w w. ja v a 2 s . c o m public class DefaultProfile extends AbstractProfile { @Override public String getName() { return "DEFAULT"; } @Override public int getLowFrequencyDelay() { return 60000; // 1 minute } @Override public int getHighFrequencyDelay() { return 5000; // 5 seconds } @Override public int getWifiSensorDelay() { return 15000; // 15 seconds } @Override public int getActivitySensorDelay() { return 15000; // 15 seconds } @Override public int getTimeSensorDelay() { return 20000; // 20 seconds } @Override public int getDefaultActivitySensorCutoff() { return 50; } @Override public int getLowActivitySensorCutoff() { return 1; } }