Browse Source

CLEANUP: Removing unused resources from the project.

Signed-off-by: Anupam Das <anupam.das.bwn@gmail.com>
Anupam Das 1 year ago
parent
commit
3a48526fc8
32 changed files with 12 additions and 1633 deletions
  1. 0 1
      art/haven.svg
  2. BIN
      src/main/res/drawable-hdpi/ic_action_search.png
  3. BIN
      src/main/res/drawable-hdpi/ic_cancel_white_24dp.png
  4. BIN
      src/main/res/drawable-mdpi/ic_action_search.png
  5. BIN
      src/main/res/drawable-mdpi/ic_cancel_white_24dp.png
  6. BIN
      src/main/res/drawable-xhdpi/ic_action_search.png
  7. BIN
      src/main/res/drawable-xhdpi/ic_cancel_white_24dp.png
  8. BIN
      src/main/res/drawable-xxhdpi/ic_cancel_white_24dp.png
  9. BIN
      src/main/res/drawable-xxxhdpi/ic_cancel_white_24dp.png
  10. 0 7
      src/main/res/drawable/back.xml
  11. 0 8
      src/main/res/drawable/black_white_gradient.xml
  12. 0 7
      src/main/res/drawable/red_back.xml
  13. 0 47
      src/main/res/layout/accelerometer_fragment.xml
  14. 1 3
      src/main/res/layout/activity_accel_configure.xml
  15. 1 3
      src/main/res/layout/activity_microphone_configure.xml
  16. 2 5
      src/main/res/layout/activity_monitor.xml
  17. 0 18
      src/main/res/layout/content_event.xml
  18. 0 28
      src/main/res/layout/empty_fragment.xml
  19. 0 24
      src/main/res/layout/microphone_fragment.xml
  20. 0 10
      src/main/res/menu/menu_event.xml
  21. 0 7
      src/main/res/menu/monitor_activity.xml
  22. 0 33
      src/main/res/raw/per_pixel_fragment_shader.glsl
  23. 0 32
      src/main/res/raw/per_pixel_vertex_shader.glsl
  24. 0 50
      src/main/res/raw/third_party_license_metadata
  25. 0 1114
      src/main/res/raw/third_party_licenses
  26. 0 44
      src/main/res/values-de/strings.xml
  27. 0 44
      src/main/res/values-es/strings.xml
  28. 8 53
      src/main/res/values-fr/strings.xml
  29. 0 44
      src/main/res/values-pt/strings.xml
  30. 0 4
      src/main/res/values/colors.xml
  31. 0 3
      src/main/res/values/dimens.xml
  32. 0 44
      src/main/res/values/strings.xml

+ 0 - 1
art/haven.svg

@@ -3,7 +3,6 @@
3 3
    xmlns:dc="http://purl.org/dc/elements/1.1/"
4 4
    xmlns:cc="http://creativecommons.org/ns#"
5 5
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
-   xmlns:svg="http://www.w3.org/2000/svg"
7 6
    xmlns="http://www.w3.org/2000/svg"
8 7
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9 8
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"

BIN
src/main/res/drawable-hdpi/ic_action_search.png


BIN
src/main/res/drawable-hdpi/ic_cancel_white_24dp.png


BIN
src/main/res/drawable-mdpi/ic_action_search.png


BIN
src/main/res/drawable-mdpi/ic_cancel_white_24dp.png


BIN
src/main/res/drawable-xhdpi/ic_action_search.png


BIN
src/main/res/drawable-xhdpi/ic_cancel_white_24dp.png


BIN
src/main/res/drawable-xxhdpi/ic_cancel_white_24dp.png


BIN
src/main/res/drawable-xxxhdpi/ic_cancel_white_24dp.png


+ 0 - 7
src/main/res/drawable/back.xml

@@ -1,7 +0,0 @@
1
-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
2
-   <solid android:color="#ffffff" />
3
-   <stroke android:width="2dip" android:color="#000000"/>
4
-       <padding android:left="7dp" android:top="7dp"
5
-            android:right="7dp" android:bottom="7dp" />
6
-    <corners android:radius="4dp" />
7
-</shape>

+ 0 - 8
src/main/res/drawable/black_white_gradient.xml

@@ -1,8 +0,0 @@
1
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
2
-    android:shape="rectangle">
3
-  <gradient
4
-      android:startColor="#00000000"
5
-      android:centerColor="#FFFFFFFF"
6
-      android:endColor="#00000000"
7
-      android:angle="0" />
8
-</shape>

+ 0 - 7
src/main/res/drawable/red_back.xml

@@ -1,7 +0,0 @@
1
-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
2
-   <solid android:color="#ffffff" />
3
-   <stroke android:width="2dip" android:color="#FF0000"/>
4
-       <padding android:left="7dp" android:top="7dp"
5
-            android:right="7dp" android:bottom="7dp" />
6
-    <corners android:radius="4dp" />
7
-</shape>

+ 0 - 47
src/main/res/layout/accelerometer_fragment.xml

@@ -1,47 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-
3
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
4
-       android:layout_width="fill_parent"
5
-       android:orientation="vertical"
6
-       android:layout_height="wrap_content">
7
-
8
-      <TextView
9
-        android:id="@+id/accelerometer_text"
10
-        android:layout_centerHorizontal="true"
11
-        android:layout_width="fill_parent"
12
-        android:layout_height="wrap_content"
13
-        android:text="SHAKE DETECTED"
14
-        android:textColor="#FFFFFF"
15
-        android:textSize="22dp"
16
-        android:textStyle="bold"
17
-        android:typeface="sans"
18
-        android:background="#820600"
19
-        android:layout_marginTop="10dp"
20
-        android:gravity="center"
21
-        android:paddingTop="2dp"
22
-        android:paddingBottom="2dp"
23
-        />
24
-
25
-      <TextView
26
-        android:id="@+id/magnetic_field_text"
27
-        android:layout_below="@id/accelerometer_text"
28
-        android:layout_centerHorizontal="true"
29
-        android:layout_width="wrap_content"
30
-        android:layout_height="wrap_content"
31
-        />
32
-
33
-      <TextView
34
-        android:id="@+id/orientation_text"
35
-        android:layout_below="@id/magnetic_field_text"
36
-        android:layout_centerHorizontal="true"
37
-        android:layout_width="wrap_content"
38
-        android:layout_height="wrap_content"
39
-        />
40
-
41
-      <FrameLayout android:id="@+id/opengl"
42
-          android:layout_below="@id/orientation_text"
43
-        android:layout_centerHorizontal="true"
44
-        android:layout_width="fill_parent"
45
-        android:layout_height="fill_parent">
46
-    </FrameLayout>
47
-</RelativeLayout>

+ 1 - 3
src/main/res/layout/activity_accel_configure.xml

@@ -1,12 +1,10 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:tools="http://schemas.android.com/tools"
4 3
     android:layout_width="match_parent"
5 4
     android:layout_height="match_parent"
6 5
     android:orientation="vertical"
7 6
     xmlns:app="http://schemas.android.com/apk/res-auto"
8
-    android:background="@color/colorPrimary"
9
-    >
7
+    android:background="@color/colorPrimary">
10 8
 
11 9
     <android.support.v7.widget.Toolbar
12 10
         android:id="@+id/toolbar"

+ 1 - 3
src/main/res/layout/activity_microphone_configure.xml

@@ -1,12 +1,10 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:tools="http://schemas.android.com/tools"
4 3
     android:layout_width="match_parent"
5 4
     android:layout_height="match_parent"
6 5
     android:orientation="vertical"
7 6
     xmlns:app="http://schemas.android.com/apk/res-auto"
8
-    android:background="@color/colorPrimary"
9
-    >
7
+    android:background="@color/colorPrimary">
10 8
 
11 9
     <android.support.v7.widget.Toolbar
12 10
         android:id="@+id/toolbar"

+ 2 - 5
src/main/res/layout/activity_monitor.xml

@@ -1,12 +1,9 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2
-<android.support.design.widget.CoordinatorLayout
3
-    android:id="@+id/main_content"
2
+<android.support.design.widget.CoordinatorLayout android:id="@+id/main_content"
4 3
     xmlns:android="http://schemas.android.com/apk/res/android"
5
-    xmlns:app="http://schemas.android.com/apk/res-auto"
6 4
     android:layout_width="match_parent"
7 5
     android:layout_height="match_parent"
8
-    android:background="@color/colorPrimary"
9
-    >
6
+    android:background="@color/colorPrimary">
10 7
 
11 8
     <FrameLayout
12 9
         android:layout_width="match_parent"

+ 0 - 18
src/main/res/layout/content_event.xml

@@ -1,18 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:app="http://schemas.android.com/apk/res-auto"
4
-    xmlns:tools="http://schemas.android.com/tools"
5
-    android:layout_width="match_parent"
6
-    android:layout_height="match_parent"
7
-    app:layout_behavior="@string/appbar_scrolling_view_behavior"
8
-    tools:context="org.havenapp.main.ui.EventActivity"
9
-    tools:showIn="@layout/activity_event">
10
-
11
-    <TextView
12
-        android:layout_width="wrap_content"
13
-        android:layout_height="wrap_content"
14
-        android:layout_margin="@dimen/text_margin"
15
-        android:id="@+id/event_log"
16
-        />
17
-
18
-</android.support.v4.widget.NestedScrollView>

+ 0 - 28
src/main/res/layout/empty_fragment.xml

@@ -1,28 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-
3
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
4
-       android:layout_width="fill_parent"
5
-       android:orientation="vertical"
6
-       android:layout_height="wrap_content">
7
-       
8
-	<RelativeLayout
9
-	    android:background="@drawable/red_back"
10
-		android:id="@+id/camera_options"
11
-		android:layout_centerHorizontal="true"
12
-		android:layout_centerVertical="true"
13
-    	android:layout_width="match_parent"
14
-    	android:layout_height="wrap_content" 
15
-    	android:paddingLeft="30dp"
16
-    	android:paddingRight="30dp"
17
-    	android:layout_marginLeft="20dp"
18
-    	android:layout_marginRight="20dp">
19
-  	
20
-  	<TextView
21
-        android:id="@+id/label"
22
-        android:layout_centerHorizontal="true"
23
-		android:layout_width="wrap_content"
24
-		android:layout_height="wrap_content"
25
-        />
26
-  	</RelativeLayout>
27
-  	
28
-</RelativeLayout>

+ 0 - 24
src/main/res/layout/microphone_fragment.xml

@@ -1,24 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-
3
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4
-       android:layout_width="fill_parent"
5
-       android:orientation="vertical"
6
-       android:id="@+id/linear_layout"
7
-       android:layout_height="wrap_content">
8
-	
9
-<!--     <com.androidplot.xy.XYPlot
10
-    android:id="@+id/mySimpleXYPlot"
11
-    android:layout_width="fill_parent"
12
-    android:layout_height="200dp"
13
-    android:layout_marginTop="10dp"
14
-    android:layout_marginLeft="0px"
15
-    android:layout_marginRight="0px"
16
-    title=""
17
-    /> -->
18
-    	
19
-	<TextView xmlns:android="http://schemas.android.com/apk/res/android"
20
-            android:id="@+id/microphone"
21
-            android:layout_gravity="center_horizontal"
22
-            android:layout_width="wrap_content"
23
-            android:layout_height="wrap_content"/>
24
-</LinearLayout>

+ 0 - 10
src/main/res/menu/menu_event.xml

@@ -1,10 +0,0 @@
1
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
2
-    xmlns:app="http://schemas.android.com/apk/res-auto"
3
-    xmlns:tools="http://schemas.android.com/tools"
4
-    tools:context="org.havenapp.main.ui.EventActivity">
5
-    <item
6
-        android:id="@+id/action_settings"
7
-        android:orderInCategory="100"
8
-        android:title="@string/action_settings"
9
-        app:showAsAction="never" />
10
-</menu>

+ 0 - 7
src/main/res/menu/monitor_activity.xml

@@ -1,7 +0,0 @@
1
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
2
-    xmlns:app="http://schemas.android.com/apk/res-auto">
3
-    <item android:id="@+id/menu_settings"
4
-        android:title="@string/menu_stop"
5
-        android:orderInCategory="100"
6
-        app:showAsAction="never" />
7
-</menu>

+ 0 - 33
src/main/res/raw/per_pixel_fragment_shader.glsl

@@ -1,33 +0,0 @@
1
-precision mediump float;       	// Set the default precision to medium. We don't need as high of a 
2
-								// precision in the fragment shader.
3
-uniform vec3 u_LightPos;       	// The position of the light in eye space.
4
-uniform sampler2D u_Texture;    // The input texture.
5
-  
6
-varying vec3 v_Position;		// Interpolated position for this fragment.
7
-varying vec4 v_Color;          	// This is the color from the vertex shader interpolated across the 
8
-  								// triangle per fragment.
9
-varying vec3 v_Normal;         	// Interpolated normal for this fragment.
10
-varying vec2 v_TexCoordinate;   // Interpolated texture coordinate per fragment.
11
-  
12
-// The entry point for our fragment shader.
13
-void main()                    		
14
-{                              
15
-	// Will be used for attenuation.
16
-    float distance = length(u_LightPos - v_Position);                  
17
-	
18
-	// Get a lighting direction vector from the light to the vertex.
19
-    vec3 lightVector = normalize(u_LightPos - v_Position);              	
20
-
21
-	// Calculate the dot product of the light vector and vertex normal. If the normal and light vector are
22
-	// pointing in the same direction then it will get max illumination.
23
-    float diffuse = max(dot(v_Normal, lightVector), 0.0);               	  		  													  
24
-
25
-	// Add attenuation. 
26
-    diffuse = diffuse * (1.0 / (1.0 + (0.10 * distance)));
27
-    
28
-    // Add ambient lighting
29
-    diffuse = diffuse + 0.3;  
30
-
31
-	// Multiply the color by the diffuse illumination level and texture value to get final output color.
32
-    gl_FragColor = (v_Color * diffuse * texture2D(u_Texture, v_TexCoordinate));                                  		
33
-}                                                                     	

+ 0 - 32
src/main/res/raw/per_pixel_vertex_shader.glsl

@@ -1,32 +0,0 @@
1
-uniform mat4 u_MVPMatrix;		// A constant representing the combined model/view/projection matrix.      		       
2
-uniform mat4 u_MVMatrix;		// A constant representing the combined model/view matrix.       		
3
-
4
-attribute vec4 a_Position;		// Per-vertex position information we will pass in.   				
5
-attribute vec4 a_Color;			// Per-vertex color information we will pass in. 				
6
-attribute vec3 a_Normal;		// Per-vertex normal information we will pass in.      
7
-attribute vec2 a_TexCoordinate; // Per-vertex texture coordinate information we will pass in. 		
8
-
9
-varying vec3 v_Position;		// This will be passed into the fragment shader.       		
10
-varying vec4 v_Color;			// This will be passed into the fragment shader.          		
11
-varying vec3 v_Normal;			// This will be passed into the fragment shader.  
12
-varying vec2 v_TexCoordinate;   // This will be passed into the fragment shader.    		
13
-
14
-// The entry point for our vertex shader.  
15
-void main()                                                 	
16
-{                                                         
17
-	// Transform the vertex into eye space. 	
18
-	v_Position = vec3(u_MVMatrix * a_Position);            
19
-
20
-	// Pass through the color.
21
-	v_Color = a_Color;
22
-
23
-	// Pass through the texture coordinate.
24
-	v_TexCoordinate = a_TexCoordinate;                                      
25
-
26
-	// Transform the normal's orientation into eye space.
27
-    v_Normal = vec3(u_MVMatrix * vec4(a_Normal, 0.0));
28
-          
29
-	// gl_Position is a special variable used to store the final position.
30
-	// Multiply the vertex by the matrix to get the final point in normalized screen coordinates.
31
-	gl_Position = u_MVPMatrix * a_Position;                       		  
32
-}                                                          

+ 0 - 50
src/main/res/raw/third_party_license_metadata

@@ -1,50 +0,0 @@
1
-0:46 design
2
-47:46 transition
3
-94:47 play-services-oss-licenses
4
-142:47 play-services-basement
5
-190:42 appintro
6
-233:43 picker
7
-277:38 app
8
-316:46 appcompat-v7
9
-363:46 support-v4
10
-410:46 cardview-v7
11
-457:46 sugar
12
-504:34 audio-wife
13
-539:68 netcipher
14
-608:54 fresco
15
-663:46 recyclerview-v7
16
-710:46 animated-vector-drawable
17
-757:46 support-fragment
18
-804:46 support-core-ui
19
-851:46 support-vector-drawable
20
-898:46 support-media-compat
21
-945:46 support-core-utils
22
-992:46 support-compat
23
-1039:46 support-annotations
24
-1086:40 signal-service-java
25
-1127:40 bcprov-jdk15on
26
-1168:64 argparse4j
27
-1233:46 photodraweeview
28
-1280:54 drawee
29
-1335:54 imagepipeline
30
-1390:54 imagepipeline-base
31
-1445:54 fbcore
32
-1500:11358 CCTZ
33
-12859:19442 ICU4C
34
-32302:1602 JSR 305
35
-33905:243 tz database
36
-34149:680 STL
37
-34830:3182 PCRE
38
-38013:11358 safeparcel
39
-49372:1481 darts_clone
40
-50854:731 UTF
41
-51586:2500 zlib
42
-54087:1558 RE2
43
-55646:1732 Protobuf Nano
44
-57379:40 signal-protocol-java
45
-57420:50 protobuf-java
46
-57471:40 prov
47
-57512:67 bolts-tasks
48
-57580:40 curve25519-java
49
-57621:40 core
50
-57662:46 multidex

File diff suppressed because it is too large
+ 0 - 1114
src/main/res/raw/third_party_licenses


+ 0 - 44
src/main/res/values-de/strings.xml

@@ -2,10 +2,7 @@
2 2
 
3 3
     <string name="app_name">Haven</string>
4 4
 
5
-    <string name="menu_stop">Stop</string>
6
-    <string name="menu_start">Start</string>
7 5
     <string name="menu_save">Speichern</string>
8
-    <string name="menu_remote_access">Fernzugriff</string>
9 6
     <string name="menu_about">Einrichtung...</string>
10 7
 
11 8
     <string name="title_activity_start">Haven</string>
@@ -18,59 +15,20 @@
18 15
     	Empfindlichkeit Geräusche
19 16
     </string>
20 17
 
21
-    <string name="camera_sensitivity">
22
-    	Empfindlichkeit Kamerabewegung
23
-    </string>
24
-
25 18
     <string name="timer_delay_label">
26 19
     	Verzögerungszeit setzen
27 20
     </string>
28 21
 
29
-    <string name="microphone_label">
30
-    	Mikrofon nutzen für Geräuschüberwachung
31
-    </string>
32
-
33
-    <string name="camera_label">
34
-    	Kamera auswählen
35
-    </string>
36
-
37
-    <string name="flash_label">
38
-    	Blitz aktivieren
39
-    </string>
40
-
41 22
     <string name="sms_label">"Bei Alarm SMS oder Signal Nachricht senden "</string>
42 23
 
43 24
     <string name="sms_hint">+4917712345678</string>
44 25
 
45
-    <string name="unlock_code_hint">
46
-    	Code zum entsperren
47
-    </string>
48
-
49
-    <string name="start_button">
50
-    	Start
51
-    </string>
52
-
53 26
     <string name="camera_prompt">
54 27
     	Kamera wählen
55 28
     </string>
56 29
 
57
-    <array name="select_sensitivity">
58
-        <item>Niedrig</item>
59
-        <item>Mittel</item>
60
-        <item>Hoch</item>
61
-        <item>Aus</item>
62
-    </array>
63
-    <array name="select_camera">
64
-        <item>Vordere Kamera</item>
65
-        <item>Hintere Kamera</item>
66
-        <item>Aus</item>
67
-
68
-    </array>
69
-
70 30
     <string name="secure_service_started">Haven aktiviert</string>
71 31
 
72
-    <string name="secure_service_stopped">Haven deaktiviert</string>
73
-
74 32
     <string name="intrusion_detected">Ein Haven Sensor wurde ausgelöst (Typ: %s)</string>
75 33
     <string name="title_activity_event">EventActivity</string>
76 34
 
@@ -82,8 +40,6 @@
82 40
     <string name="intro2_title">Haven ist für Personen die gerne wissen was in Ihrem Haus, Büro, Hotelraum, ... vorgeht.</string>
83 41
     <string name="intro3_desc">Verwandle ein zweites Telefon in einen Geräusch, Vibrations, Licht und Bewegungssensor um ungewünschte Besucher direkt zu erkennen.</string>
84 42
 
85
-    <string name="sensor_setup_info">Positioniere dein Telefon so das die Kamera Bewegungen erkennen kann oder lege es diskret hin um Geräusche aufzunehmen</string>
86
-
87 43
     <string name="intro4_desc">Werde direkt benachrichtigt wenn Haven etwas erkennt und schaue per Fenzugriff in die Logs oder schaue nach den Logs direkt am Telefon</string>
88 44
 
89 45
     <string name="intro5_title">Dein Haven ist einsatzbereit</string>

+ 0 - 44
src/main/res/values-es/strings.xml

@@ -2,10 +2,7 @@
2 2
 
3 3
     <string name="app_name">Haven</string>
4 4
 
5
-    <string name="menu_stop">Detener</string>
6
-    <string name="menu_start">Iniciar</string>
7 5
     <string name="menu_save">Guardar</string>
8
-    <string name="menu_remote_access">Acceso Remoto</string>
9 6
     <string name="menu_about">Configurar...</string>
10 7
 
11 8
     <string name="title_activity_start">Haven</string>
@@ -18,58 +15,20 @@
18 15
         Sensibilidad de sonido
19 16
     </string>
20 17
 
21
-    <string name="camera_sensitivity">
22
-        Sensibilidad de movimiento de la cámara
23
-    </string>
24
-
25 18
     <string name="timer_delay_label">
26 19
         Temporizador
27 20
     </string>
28 21
 
29
-    <string name="microphone_label">
30
-        Usar el micrófono para detectar sonidos
31
-    </string>
32
-
33
-    <string name="camera_label">
34
-        Seleccionar cámara
35
-    </string>
36
-
37
-    <string name="flash_label">
38
-        Activar flash
39
-    </string>
40
-
41 22
     <string name="sms_label">
42 23
         Enviar SMS o mensaje de alerta por Signal
43 24
     </string>
44 25
 
45
-    <string name="unlock_code_hint">
46
-        Código para detener la aplicación
47
-    </string>
48
-
49
-    <string name="start_button">
50
-        Iniciar
51
-    </string>
52
-
53 26
     <string name="camera_prompt">
54 27
         Seleccionar la cámara
55 28
     </string>
56 29
 
57
-    <array name="select_sensitivity">
58
-        <item>Baja</item>
59
-        <item>Media</item>
60
-        <item>Alta</item>
61
-        <item>Apagada</item>
62
-    </array>
63
-    <array name="select_camera">
64
-        <item>Frente</item>
65
-        <item>Atrás</item>
66
-        <item>Apagada</item>
67
-    </array>
68
-
69 30
     <string name="secure_service_started">Haven Activado</string>
70 31
 
71
-    <string name="secure_service_stopped">Haven Desactivado</string>
72
-
73 32
     <string name="intrusion_detected">Se ha detectado un intruso (Type: %s)
74 33
         Grabando prueba de audio e imagen.
75 34
     </string>
@@ -83,9 +42,6 @@
83 42
     <string name="intro2_title">Haven es para las personas que quieren detectar invasiones a su hogar, oficina, cuarto de hotel o cualquier otro espacio privado.</string>
84 43
     <string name="intro3_desc">Convierte un teléfono extra en un detector de sonido, movimiento, vibración y luz, vigilando visitantes inesperados e intrusos indeseados. </string>
85 44
 
86
-    <string name="sensor_setup_info">Posiciona la cámara para capturar movimiento, o coloca el teléfono en un lugar
87
-discreto para escuchar sonidos. </string>
88
-
89 45
     <string name="intro4_desc">Recibe notificaciones de intrusos inmediatamente y accede a las detecciones de manera remota o en persona posteriormente.</string>
90 46
 
91 47
     <string name="intro5_title">Haven está listo. </string>

+ 8 - 53
src/main/res/values-fr/strings.xml

@@ -1,11 +1,8 @@
1 1
 <resources>
2 2
 	<string name="app_name">Haven</string>
3 3
 
4
-	<string name="menu_stop">Arreter</string>
5
-	<string name="menu_start">Lancer</string>
6
-	<string name="menu_save">Sauvegarder</string>
7
-	<string name="menu_remote_access">Accès à distance</string>
8
-	<string name="menu_about">Configuration</string>
4
+    <string name="menu_save">Sauvegarder</string>
5
+    <string name="menu_about">Configuration</string>
9 6
 
10 7
 	<string name="title_activity_start">Haven</string>
11 8
 
@@ -17,26 +14,11 @@
17 14
 		Sensibilité du son
18 15
 	</string>
19 16
 
20
-	<string name="camera_sensitivity">
21
-		Sensibilité du mouvement de la caméra
22
-	</string>
23
-
24
-	<string name="timer_delay_label">
17
+    <string name="timer_delay_label">
25 18
 		Determiner un délai
26 19
 	</string>
27 20
 
28
-	<string name="microphone_label">
29
-		Utiliser le microphone pour detecter des sons</string>
30
-
31
-	<string name="camera_label">
32
-		Selectionner la caméra
33
-	</string>
34
-
35
-	<string name="flash_label">
36
-		Activer le flash
37
-	</string>
38
-
39
-	<string name="sms_label">
21
+    <string name="sms_label">
40 22
 		Envoyer SMS ou des alertes par message Signal
41 23
 	</string>
42 24
 
@@ -44,38 +26,13 @@
44 26
 		+12125551212
45 27
 	</string>
46 28
 
47
-	<string name="unlock_code_hint">
48
-		Code pour arreter l'aplication
49
-	</string>
50
-
51
-	<string name="start_button">
52
-		Demarrer
53
-	</string>
54
-
55
-	<string name="camera_prompt">
29
+    <string name="camera_prompt">
56 30
 		Selectionner la caméra
57 31
 	</string>
58 32
 
59
-	<array name="select_sensitivity">
60
-		<item>Faible</item>
61
-		<item>Moyenne</item>
62
-		<item>Haute</item>
63
-		<item>Desactivée</item>
64
-	</array>
65
-
66
-	<array name="select_camera">
67
-
68
-		<item>Frontale</item>
69
-		<item>Arrière</item>
70
-		<item>Desactivée</item>
33
+    <string name="secure_service_started">Haven activé</string>
71 34
 
72
-	</array>
73
-
74
-	<string name="secure_service_started">Haven activé</string>
75
-
76
-	<string name="secure_service_stopped">Haven desactivé</string>
77
-
78
-	<string name="intrusion_detected">Un intrus a été détecté (type: %s)
35
+    <string name="intrusion_detected">Un intrus a été détecté (type: %s)
79 36
 		Enregistrement audio et image en cours.
80 37
 	</string>
81 38
 	<string name="title_activity_event">EventActivity</string>
@@ -88,9 +45,7 @@
88 45
 	<string name="intro2_title">Haven est pour les persones qui veulent detecter des violations de domicile, de son lieu de travail, chambre d'hotel ou n'importe quel espace privé.</string>
89 46
 	<string name="intro3_desc">Convertisser un téléphone supplémentaire en un détecteur de sons, mouvements, vibrations et lumière pour detecter des visiteurs inespéres et des intrus non désirés.</string>
90 47
 
91
-	<string name="sensor_setup_info">Placez la caméra pour enregister des mouvements, ou placez le téléphone dans un endroit discret pour écouter des sons.</string>
92
-
93
-	<string name="intro4_desc">Recevez des notifications d'intrus immédiatement et accedez aux détections à distance ou en personne.</string>
48
+    <string name="intro4_desc">Recevez des notifications d'intrus immédiatement et accedez aux détections à distance ou en personne.</string>
94 49
 
95 50
 	<string name="intro5_title">Haven est prêt.</string>
96 51
 	<string name="intro5_desc">Activez l'application quand vous voulez en utilisant le bouton &gt; sur l'écran principal.</string>

+ 0 - 44
src/main/res/values-pt/strings.xml

@@ -2,10 +2,7 @@
2 2
 
3 3
     <string name="app_name">Haven</string>
4 4
 
5
-    <string name="menu_stop">Parar</string>
6
-    <string name="menu_start">Começar</string>
7 5
     <string name="menu_save">Gravar</string>
8
-    <string name="menu_remote_access">Accesso Remoto</string>
9 6
     <string name="menu_about">Configurações...</string>
10 7
 
11 8
     <string name="title_activity_start">Haven</string>
@@ -18,26 +15,10 @@
18 15
     	Sensibilidade do Som
19 16
     </string>
20 17
 
21
-    <string name="camera_sensitivity">
22
-    	Sensibilidade do Movimento da Câmera
23
-    </string>
24
-
25 18
     <string name="timer_delay_label">
26 19
     	Definir tempo de atraso
27 20
     </string>
28 21
 
29
-    <string name="microphone_label">
30
-    	Usar microfone para detetar qualquer som
31
-    </string>
32
-
33
-    <string name="camera_label">
34
-    	Escolher Câmera
35
-    </string>
36
-
37
-    <string name="flash_label">
38
-    	Ativar o flash
39
-    </string>
40
-
41 22
     <string name="sms_label">
42 23
     	Enviar mensagens de alerta de SMS ou Signal
43 24
     </string>
@@ -46,35 +27,12 @@
46 27
     	+351912223344
47 28
     </string>
48 29
 
49
-    <string name="unlock_code_hint">
50
-    	Código para parar a aplicação
51
-    </string>
52
-
53
-    <string name="start_button">
54
-    	Começar
55
-    </string>
56
-
57 30
     <string name="camera_prompt">
58 31
     	Escolher a Câmera
59 32
     </string>
60 33
 
61
-    <array name="select_sensitivity">
62
-        <item>Baixo</item>
63
-        <item>Médio</item>
64
-        <item>Alto</item>
65
-        <item>Off</item>
66
-    </array>
67
-    <array name="select_camera">
68
-        <item>Frente</item>
69
-        <item>Trás</item>
70
-        <item>Off</item>
71
-
72
-    </array>
73
-
74 34
     <string name="secure_service_started">Haven Activado</string>
75 35
 
76
-    <string name="secure_service_stopped">Haven Desactivado</string>
77
-
78 36
     <string name="intrusion_detected">O sensor Haven foi ativo (Tipo: %s)</string>
79 37
     <string name="title_activity_event">EventActivity</string>
80 38
 
@@ -86,8 +44,6 @@
86 44
     <string name="intro2_title">Haven é para as pessoas que querem manter um olho a possíveis intruso em sua casa, no seu escritório, no seu quarto de hotel ou outro espaço privado</string>
87 45
     <string name="intro3_desc">Torne um telefone que tenha em casa a mais num detector de movimento, som, vibração e luz, para detecter convidados inesperados ou intrusos</string>
88 46
 
89
-    <string name="sensor_setup_info">Posicione a camera para detectar movimento ou coloque o telefone num local discreto para detectar som</string>
90
-
91 47
     <string name="intro4_desc">Seja notificado instantaneamente de acções de intrusos e aceda remotamente aos logs ou pessoalmente mais tarde</string>
92 48
 
93 49
     <string name="intro5_title">O seu Haven está pronto</string>

+ 0 - 4
src/main/res/values/colors.xml

@@ -5,8 +5,4 @@
5 5
 <color name="colorPrimaryDark">#1976D2</color>
6 6
 <color name="colorPrimaryLight">#BBDEFB</color>
7 7
 <color name="colorAccent">#f5c229</color>
8
-<color name="primary_text">#212121</color>
9
-<color name="secondary_text">#757575</color>
10
-<color name="icons">#FFFFFF</color>
11
-<color name="divider">#BDBDBD</color>
12 8
 </resources>

+ 0 - 3
src/main/res/values/dimens.xml

@@ -7,10 +7,7 @@
7 7
     <dimen name="appbar_height">192dp</dimen>
8 8
 
9 9
 
10
-    <dimen name="statusbar_toolbar_height">80dp</dimen>
11
-    <dimen name="appbar_height_offset">136dp</dimen>
12 10
     <dimen name="activity_margin_half">8dp</dimen>
13 11
     <dimen name="app_bar_height">180dp</dimen>
14
-    <dimen name="text_margin">16dp</dimen>
15 12
 
16 13
 </resources>

+ 0 - 44
src/main/res/values/strings.xml

@@ -2,10 +2,7 @@
2 2
 
3 3
     <string name="app_name" translatable="false">Haven</string>
4 4
 
5
-    <string name="menu_stop">Stop</string>
6
-    <string name="menu_start">Start</string>
7 5
     <string name="menu_save">Save</string>
8
-    <string name="menu_remote_access">Remote Access</string>
9 6
     <string name="menu_about">Setup...</string>
10 7
 
11 8
     <string name="title_activity_start">Haven</string>
@@ -18,26 +15,10 @@
18 15
     	Sound Sensitivity
19 16
     </string>
20 17
 
21
-    <string name="camera_sensitivity">
22
-    	Camera Motion sensitivity
23
-    </string>
24
-
25 18
     <string name="timer_delay_label">
26 19
     	Set Delay Time
27 20
     </string>
28 21
 
29
-    <string name="microphone_label">
30
-    	Use microphone to detect any sound
31
-    </string>
32
-
33
-    <string name="camera_label">
34
-    	Select Camera
35
-    </string>
36
-
37
-    <string name="flash_label">
38
-    	Activate the flash
39
-    </string>
40
-
41 22
     <string name="sms_label">
42 23
     	Send SMS or Signal message alerts
43 24
     </string>
@@ -46,35 +27,12 @@
46 27
     	+12125551212
47 28
     </string>
48 29
 
49
-    <string name="unlock_code_hint">
50
-    	Code to stop the app
51
-    </string>
52
-
53
-    <string name="start_button">
54
-    	Start
55
-    </string>
56
-
57 30
     <string name="camera_prompt">
58 31
     	Select the camera
59 32
     </string>
60 33
 
61
-    <array name="select_sensitivity">
62
-        <item>Low</item>
63
-        <item>Medium</item>
64
-        <item>High</item>
65
-        <item>Off</item>
66
-    </array>
67
-    <array name="select_camera">
68
-        <item>Front</item>
69
-        <item>Back</item>
70
-        <item>Off</item>
71
-
72
-    </array>
73
-
74 34
     <string name="secure_service_started">Haven Activated</string>
75 35
 
76
-    <string name="secure_service_stopped">Haven Deactivated</string>
77
-
78 36
     <string name="intrusion_detected">A Haven sensor was triggered (Type: %s)</string>
79 37
     <string name="title_activity_event">EventActivity</string>
80 38
 
@@ -86,8 +44,6 @@
86 44
     <string name="intro2_title">Haven is for people who want to keep an eye out for intrusions into their home, office, hotel room or other private space</string>
87 45
     <string name="intro3_desc">Turn an extra phone into a motion, sound, vibration and light detector, watching for unexpected guests and unwanted intruders</string>
88 46
 
89
-    <string name="sensor_setup_info">Position the camera to capture motion, or set your phone somewhere discreet to just listen for noises</string>
90
-
91 47
     <string name="intro4_desc">Get notified of intrusion events instantly and access the logs remotely or in-person later</string>
92 48
 
93 49
     <string name="intro5_title">Your Haven is ready</string>