-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://android-motion-detection.googlecode.com/svn/trunk@23 996b93ed-3e4d-4b21-1044-74bd19560d1d
- Loading branch information
1 parent
90922f5
commit c345666
Showing
4 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ | |
|
||
|
||
/** | ||
* This class extends Activity and processes sensor data and location data. | ||
* This class extends Activity and processes sensor data and location data. It is used to | ||
* detect when the phone is in motion, so we do not try to detect motion. | ||
* | ||
* @author Justin Wetherell <[email protected]> | ||
*/ | ||
|
10 changes: 8 additions & 2 deletions
10
.../jwetherell/motion_detection/Globals.java → ...ll/motion_detection/data/Preferences.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
package com.jwetherell.motion_detection; | ||
package com.jwetherell.motion_detection.data; | ||
|
||
public class Globals { | ||
|
||
/** | ||
* This class is used to store preferences on how to decode images and what to save. | ||
* | ||
* @author Justin Wetherell <[email protected]> | ||
*/ | ||
public class Preferences { | ||
//Which motion detection to use | ||
public static boolean USE_RGB = true; | ||
public static boolean USE_LUMA = false; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters