Sfoglia il codice sorgente

Minor style fix, reenable debug mode

master
Chris Smith 14 anni fa
parent
commit
9c33012040

BIN
code/ContextAnalyser/dist/ContextAnalyser.apk Vedi File


+ 2
- 2
code/ContextAnalyser/src/uk/co/md87/android/contextanalyser/ContextAnalyserService.java Vedi File

76
 
76
 
77
     public static final int CONTEXT_PLACE = 1;
77
     public static final int CONTEXT_PLACE = 1;
78
 
78
 
79
-    public static final boolean DEBUG = false;
79
+    public static final boolean DEBUG = true;
80
 
80
 
81
-    private static final int POLLING_DELAY = 60000;
81
+    private static final int POLLING_DELAY = 6000;
82
 
82
 
83
     private final Runnable scheduleRunnable = new Runnable() {
83
     private final Runnable scheduleRunnable = new Runnable() {
84
 
84
 

+ 1
- 1
code/ContextAnalyser/src/uk/co/md87/android/contextanalyser/DataHelper.java Vedi File

79
             insertJourneyStepStatement, updateLocationStatement,
79
             insertJourneyStepStatement, updateLocationStatement,
80
             updateLocationVisitStatement, updateJourneyStatement;
80
             updateLocationVisitStatement, updateJourneyStatement;
81
 
81
 
82
-    private SQLiteDatabase db;
82
+    private final SQLiteDatabase db;
83
 
83
 
84
     public DataHelper(final Context context) {
84
     public DataHelper(final Context context) {
85
         final OpenHelper helper = new OpenHelper(context);
85
         final OpenHelper helper = new OpenHelper(context);

Loading…
Annulla
Salva