aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/Preferences.java
blob: 791aad8a6a3d79dcba5fd7337d9764afa4fc93d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package net.cbaines.suma;

public interface Preferences {
	// Preferences
	static final String GPS_ENABLED = "GPSEnabled";
	static final boolean GPS_ENABLED_BY_DEFAULT = true;
	static final String UNI_LINK_BUS_TIMES = "uniLinkLiveBusTimesEnabled";
	static final boolean UNI_LINK_BUS_TIMES_ENABLED_BY_DEFAULT = true;
	static final String NON_UNI_LINK_BUS_TIMES = "nonUniLinkLiveBusTimesEnabled";
	static final boolean NON_UNI_LINK_BUS_TIMES_ENABLED_BY_DEFAULT = false;
	static final String NON_UNI_LINK_BUS_STOPS_OVERLAY = "nonUniLinkBusStops";
	static final boolean NON_UNI_LINK_BUS_STOP_OVERLAY_ENABLED_BY_DEFAULT = false;

	static final String SHOW_IDENTIFIERS = "showIdentifiers";
	static final boolean SHOW_IDENTIFIERS_ENABLED_BY_DEFAULT = false;

	static final String APP_VERSION = "appVersion";
	static final String APP_NOT_INSTALLED = "";
	static final String CURRENT_APP_VERSION = "0.9";

	static final String FAVOURITES_PREFERENCES = "favourites";

	static final String DATABASE_PATH = "/data/data/net.cbaines.suma/databases/";
	static final String DATABASE_NAME = "data.db";

	static final int DATABASE_VERSION = 42;

	/**
	 * Enable to use the database in the assets folder, if its not enabled, the database is built from the csv files in the assets
	 * folder
	 */
	static final boolean USE_BUNDLED_DATABASE = true;
}