From 7e97f5aa3a06d038f7494eb6ba259201ef780f7b Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 13:52:45 +0200 Subject: [PATCH 01/10] resolution change for consent_en.html Changed values for background tracking cells - lat and lon and area. --- .../mosquitoAlert/src/main/assets/html/consent_en.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_en.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_en.html index 1636754..66286d6 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_en.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_en.html @@ -35,7 +35,7 @@

Mosquito Alert

@@ -59,4 +59,4 @@

Mosquito Alert

- \ No newline at end of file + From c46d778ae464c9c26073d3b1f539bc259f500ed8 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 13:56:26 +0200 Subject: [PATCH 02/10] resolution change for consent_ca.html Changed values for background tracking cell lat, lon, and area. --- .../mosquitoAlert/src/main/assets/html/consent_ca.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_ca.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_ca.html index 9d1cc92..cdd336f 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_ca.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_ca.html @@ -33,7 +33,7 @@

Mosquito Alert

Entenc que Mosquito Alert recull i comparteix amb tercers o el públic general la següent informació:

From 175209057966159290a1d7b7e7defb5826a63140 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 13:57:35 +0200 Subject: [PATCH 03/10] resolution change for consent_es.html Changed values for background tracking cell lat, lon, and area. --- .../mosquitoAlert/src/main/assets/html/consent_es.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_es.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_es.html index 67044f2..a04eaa9 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_es.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_es.html @@ -34,7 +34,7 @@

Mosquito Alert

Entiendo que Mosquito Alert recoge y comparte con terceros o el público general la siguiente información:

  • Los informes que yo envío sobre lugares de cría, mosquitos tigre o mosquitos de la fiebre amarilla y misiones. Esto incluye la localización de mis informes (que puede coincidir con mi localización) cuando envío informes, así como también cualquier imagen, nota o cualquier otra información o medio que yo adjunte.
  • -
  • Información aproximada de mi localización, obtenida a intervalos de tiempo aleatorios. Esta información se recoge con fines científicos, para conocer el área que está siendo explorada por los ciudadanos y para estudiar la dispersión del mosquito tigre y del mosquito de la fiebre amarilla. Para evitar la recolección precisa de la ubicación de los voluntarios, las latitudes y longitudes se redondean a los 0,05 grados más cercanos antes de transmitir la ubicación desde el dispositivo. Así, es imposible determinar la ubicación real, dentro de un área aproximada de 20 km2. En cualquier caso, los voluntarios pueden desactivar esta opción, activada por defecto, en la configuración de la aplicación.
  • +
  • Información aproximada de mi localización, obtenida a intervalos de tiempo aleatorios. Esta información se recoge con fines científicos, para conocer el área que está siendo explorada por los ciudadanos y para estudiar la dispersión del mosquito tigre y del mosquito de la fiebre amarilla. Para evitar la recolección precisa de la ubicación de los voluntarios, las latitudes y longitudes se redondean a los 0,025 grados más cercanos antes de transmitir la ubicación desde el dispositivo. Así, es imposible determinar la ubicación real, dentro de un área aproximada de 4 km2. En cualquier caso, los voluntarios pueden desactivar esta opción, activada por defecto, en la configuración de la aplicación.
  • Información sobre mi modelo de teléfono, estado de la batería, configuración de idioma e instalación de Mosquito Alert. Esta información se utiliza para ayudar al equipo de investigación a mejorar la app.
@@ -51,4 +51,4 @@

Mosquito Alert


- \ No newline at end of file + From b5f78bd86f4a0b97e86f02895fc8e9f469228d0d Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:00:26 +0200 Subject: [PATCH 04/10] resolution changes for consent_zh.html Changed values for background tracking cell lat, lon, and area. --- .../mosquitoAlert/src/main/assets/html/consent_zh.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_zh.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_zh.html index d026edd..40a74af 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_zh.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/consent_zh.html @@ -28,7 +28,7 @@

Mosquito Alert

我明白Mosquito Alert計劃會收集,並分享以下資料予公眾和相關的第三方:

  • 所有我收集和傳送的資料,包括蚊子滋生地點,成年蚊子的踪跡,和任務。這包括我提交的實際位置,任何備注,相片,或連同報告傳送的附件。
  • -
  • 軟件於不定時段收集到有關我的大概位置。此資訊將應用於科學用途,如建立參與者監測蚊子的地理區域分佈圖,以及了解白紋伊蚊和埃及伊蚊的傳播路線。為避免收集參與者的實際位置,此計劃會在參與者傳送數據前四捨五入他們的位置至最近的0.05經緯度。此舉令系統只能粗略的作0.05經度和0.05緯度定位(約20平方公里). 在任何情況下,雖然這個選項是自動啟用的,但參與者可以選擇隨時停用。
  • +
  • 軟件於不定時段收集到有關我的大概位置。此資訊將應用於科學用途,如建立參與者監測蚊子的地理區域分佈圖,以及了解白紋伊蚊和埃及伊蚊的傳播路線。為避免收集參與者的實際位置,此計劃會在參與者傳送數據前四捨五入他們的位置至最近的0.025經緯度。此舉令系統只能粗略的作0.025經度和0.025緯度定位(約4平方公里). 在任何情況下,雖然這個選項是自動啟用的,但參與者可以選擇隨時停用。
  • 有關我電話型號,電池用量,語言設定,應用程式安裝的資訊(如我安裝了那個版本的應用程式,安裝在那個操作系統和操作系統版本)。這些資訊將有助此計劃的研究團隊完善應用程式。
@@ -47,4 +47,4 @@

Mosquito Alert


- \ No newline at end of file + From bf482f8789f395c4bbd2f9ef03ae5ac3abd689f9 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:03:49 +0200 Subject: [PATCH 05/10] resolution change for help_ca.html Changed value for background tracking cell lat and lon. --- MosquitoAlert/mosquitoAlert/src/main/assets/html/help_ca.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_ca.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_ca.html index b787f67..31ce1bd 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_ca.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_ca.html @@ -40,7 +40,7 @@

Explora altres opcions

A cada pantalla podràs accedir a més opcions pitjant el botó de configuració. Per exemple, a “EL MEU MAPA” pots canviar el tipus de mapa, pots compartir l’app des de la pàgina principal o bé pots consultar les últimes notícies de la plataforma Mosquito Alert.

ON VAN LES DADES QUE ENVIES?

-Els avisos que enviïs a través de l’app, tant si tenen foto com si no, s’envien al servidor de Mosquito Alert i apareixeran de manera automàtica al mapa de la plataforma mosquitoalert.com. Aquesta informació és molt útil per conèixer la distribució del mosquit tigre i del mosquit de la febre groga. Pot ser compartida amb tercers o amb el públic general. L’app Mosquito Alert també recull dades de la posició aproximada del teu dispositiu en intervals de temps aleatoris. Aquesta informació s’utilitza per conèixer i generar un mapa de les zones explorades pels usuaris de Mosquito Alert i per saber més de les vies de dispersió d’aquests mosquits. Les dades de la posició actual són aproximades i es recullen rodejant la teva posició actual real als 0.05 graus de latitud i longitud més propers. Amb aquest mètode es pot saber la teva ubicació dins d’una àrea de la mida d’una ciutat petita, però en cap cas es sap la teva posició exacta a dins d’aquesta àrea. Les localitzacions estan unides només al teu identificador, generat de manera aleatòria, però a cap informació que permeti saber la teva identificació personal. +Els avisos que enviïs a través de l’app, tant si tenen foto com si no, s’envien al servidor de Mosquito Alert i apareixeran de manera automàtica al mapa de la plataforma mosquitoalert.com. Aquesta informació és molt útil per conèixer la distribució del mosquit tigre i del mosquit de la febre groga. Pot ser compartida amb tercers o amb el públic general. L’app Mosquito Alert també recull dades de la posició aproximada del teu dispositiu en intervals de temps aleatoris. Aquesta informació s’utilitza per conèixer i generar un mapa de les zones explorades pels usuaris de Mosquito Alert i per saber més de les vies de dispersió d’aquests mosquits. Les dades de la posició actual són aproximades i es recullen rodejant la teva posició actual real als 0.025 graus de latitud i longitud més propers. Amb aquest mètode es pot saber la teva ubicació dins d’una àrea de la mida d’una ciutat petita, però en cap cas es sap la teva posició exacta a dins d’aquesta àrea. Les localitzacions estan unides només al teu identificador, generat de manera aleatòria, però a cap informació que permeti saber la teva identificació personal.

VOLS MÉS INFORMACIÓ?

Visita la nostra pàgina web mosquitoalert.com o escriu-nos a info@mosquitoalert.com @@ -49,4 +49,4 @@

VOLS MÉS INFORMACIÓ?

- \ No newline at end of file + From b68ed5b646e6d65bfd7b44592f6c70f8e6f11e9c Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:04:23 +0200 Subject: [PATCH 06/10] resolution change for help_en.html Changed value for background tracking cell lat and lon. --- MosquitoAlert/mosquitoAlert/src/main/assets/html/help_en.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_en.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_en.html index 04edffd..1f2a5b5 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_en.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_en.html @@ -40,7 +40,7 @@

Explore other options

In each screen you can access additional features using the options menu. For example, in “MY MAP” you can choose the type the map, share the app from the main screen or see the latest news from Mosquito Alert.

WHERE IS YOUR SENT DATA

-The reports you submit using the app, with or without photos, go to the Mosquito Alert server and they appear automatically in the map of mosquitoalert.com. This information is very useful to know the distribution of the tiger mosquito and the yellow fever mosquito. It can be shared with thirds parties or the public. The Mosquito Alert app also collects coarse information on your location at random times throughout the day in order to generate a map of the areas being monitored by Mosquito Alert users, and to learn about the routes along which tiger and yellow fever mosquitoes may be spreading. These locations are masked by rounding your actual location to the nearest 0.05 degrees latitude and longitude, making it possible to know that you were in an area roughly the size of a small city like Blanes, but impossible to know where you were in that area. The locations are linked only to your randomly-generated user ID, and no personally-identifying information is collected +The reports you submit using the app, with or without photos, go to the Mosquito Alert server and they appear automatically in the map of mosquitoalert.com. This information is very useful to know the distribution of the tiger mosquito and the yellow fever mosquito. It can be shared with thirds parties or the public. The Mosquito Alert app also collects coarse information on your location at random times throughout the day in order to generate a map of the areas being monitored by Mosquito Alert users, and to learn about the routes along which tiger and yellow fever mosquitoes may be spreading. These locations are masked by rounding your actual location to the nearest 0.025 degrees latitude and longitude, making it possible to know that you were in an area roughly the size of a small city like Blanes, but impossible to know where you were in that area. The locations are linked only to your randomly-generated user ID, and no personally-identifying information is collected

DO YOU WANT MORE INFORMATION?

Check our website mosquitoalert.com or send us an email at info@mosquitoalert.com @@ -49,4 +49,4 @@

DO YOU WANT MORE INFORMATION?

- \ No newline at end of file + From 0ab5f23c7d19c19ae1380a129d98c1b45f79ff69 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:04:51 +0200 Subject: [PATCH 07/10] resolution change for help_es.html Changed value for background tracking cell lat and lon. --- MosquitoAlert/mosquitoAlert/src/main/assets/html/help_es.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_es.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_es.html index ac1b054..ff804a3 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_es.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_es.html @@ -40,7 +40,7 @@

Explora otras opciones

En cada pantalla podrás acceder a más opciones con el botón de configuración. Por ejemplo, en “MI MAPA” puedes cambiar el tipo de mapa, puedes compartir la app desde la pantalla principal o bien consultar las últimas noticias de la plataforma Mosquito Alert.

¿DÓNDE VAN LOS DATOS QUE ENVÍAS?

-Los avisos que envíes a través de la app, con o sin foto, se envían al servidor de Mosquito Alert y aparecerán de forma automática en el mapa de la plataforma mosquitoalert.com. Esta información es muy útil para conocer la distribución del mosquito tigre y del mosquito de la fiebre amarilla. Puede ser compartida con terceros o con el público general. La app Mosquito Alert también recoge datos de la posición aproximada de tu dispositivo en intervalos de tiempo aleatorios. Esta información se utiliza para conocer y generar un mapa de las zonas exploradas por los usuarios de Mosquito Alert y para saber más sobre las vías de dispersión de estos mosquitos. Los datos de posición son aproximados y se recogen redondeando tu posición real a los 0.05 grados de latitud y longitud más cercanos. Con este método se puede saber tu ubicación dentro de una área del tamaño de una ciudad pequeña, pero en ningún caso se sabe tu posición exacta dentro de esta área. Las localizaciones están unidas sólo a tu identificador, generado de manera aleatoria, pero a ninguna información que permita tu identificación personal. +Los avisos que envíes a través de la app, con o sin foto, se envían al servidor de Mosquito Alert y aparecerán de forma automática en el mapa de la plataforma mosquitoalert.com. Esta información es muy útil para conocer la distribución del mosquito tigre y del mosquito de la fiebre amarilla. Puede ser compartida con terceros o con el público general. La app Mosquito Alert también recoge datos de la posición aproximada de tu dispositivo en intervalos de tiempo aleatorios. Esta información se utiliza para conocer y generar un mapa de las zonas exploradas por los usuarios de Mosquito Alert y para saber más sobre las vías de dispersión de estos mosquitos. Los datos de posición son aproximados y se recogen redondeando tu posición real a los 0.025 grados de latitud y longitud más cercanos. Con este método se puede saber tu ubicación dentro de una área del tamaño de una ciudad pequeña, pero en ningún caso se sabe tu posición exacta dentro de esta área. Las localizaciones están unidas sólo a tu identificador, generado de manera aleatoria, pero a ninguna información que permita tu identificación personal.

¿QUIERES MÁS INFORMACIÓN?

Visita nuestra página web mosquitoalert.com o escríbenos en info@mosquitoalert.com @@ -49,4 +49,4 @@

¿QUIERES MÁS INFORMACIÓN?

- \ No newline at end of file + From ae1ef6a95af913bb1499d525cbf16806d7e32fc8 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:05:21 +0200 Subject: [PATCH 08/10] resolution change for help_zh.html Changed value for background tracking cell lat and lon. --- MosquitoAlert/mosquitoAlert/src/main/assets/html/help_zh.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_zh.html b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_zh.html index 949cdc5..bd7447f 100644 --- a/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_zh.html +++ b/MosquitoAlert/mosquitoAlert/src/main/assets/html/help_zh.html @@ -39,7 +39,7 @@

探索其他選項

你可以通過選項頁面去使用各項附加功能。例如,你可以在瀏覽 “我的地圖”時以選項頁面去選擇不同類型的地圖,從主屏幕共享應用程式,或察看到Mosquito Alert的最新消息。

你發送的數據會傳送至那裏?

-通過此應用程式提交的報告(不論有沒有照片附件),將傳送至Mosquito Alert的伺服器,並自動上载至mosquitoalert.com 的地圖。你所提供的資訊對我們掌握白紋伊蚊和埃及伊蚊的分佈將有莫大幫助,而這些保貴的資訊也可給予公眾和相關人仕作進一步參考。Mosquito Alert 應用程式會不定時收集你的大概位置以掌握用戶的位置分怖,並了解白紋伊蚊和埃及伊蚊的傳播路線。我們只會四捨五入至最近的0.05經緯度以收集你的大概位置 ,例如十八區區域,並非你的實際位置,以保障所有用戶的私隱。所有收集到的大概位置只會鏈接至隨機產生的用戶身分。我們不會收集任何能夠識別用戶身分的個人資料。 +通過此應用程式提交的報告(不論有沒有照片附件),將傳送至Mosquito Alert的伺服器,並自動上载至mosquitoalert.com 的地圖。你所提供的資訊對我們掌握白紋伊蚊和埃及伊蚊的分佈將有莫大幫助,而這些保貴的資訊也可給予公眾和相關人仕作進一步參考。Mosquito Alert 應用程式會不定時收集你的大概位置以掌握用戶的位置分怖,並了解白紋伊蚊和埃及伊蚊的傳播路線。我們只會四捨五入至最近的0.025經緯度以收集你的大概位置 ,例如十八區區域,並非你的實際位置,以保障所有用戶的私隱。所有收集到的大概位置只會鏈接至隨機產生的用戶身分。我們不會收集任何能夠識別用戶身分的個人資料。

想了解更多?

請瀏覽我們的網站 mosquitoalert.com或傳送電郵至info@mosquitoalert.com @@ -48,4 +48,4 @@

想了解更多?

- \ No newline at end of file + From 4544e3eab7017c77f8c4ab6586438741e4e1a332 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:10:17 +0200 Subject: [PATCH 09/10] resolution change for Util.java Changed latMask and lonMask variables to 0.025. These will be used in the mask implemented by FixUse.java. --- .../tigabib/src/main/java/ceab/movelab/tigabib/Util.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/Util.java b/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/Util.java index 3138df3..5e32d56 100644 --- a/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/Util.java +++ b/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/Util.java @@ -280,8 +280,8 @@ public static void internalBroadcast(Context context, String message) { public final static LatLng CEAB_COORDINATES = new LatLng(41.683600, 2.799600); - public final static double latMask = 0.05; - public final static double lonMask = 0.05; + public final static double latMask = 0.025; + public final static double lonMask = 0.025; /* public static String[] ALPHA_NUMERIC_DIGITS = { "0", "1", "2", "3", "4", From f3dbcc9fdbf437edaabd20f6e2ca158446ba0e1f Mon Sep 17 00:00:00 2001 From: John Palmer Date: Thu, 22 Jun 2017 14:13:09 +0200 Subject: [PATCH 10/10] resolution change for FixUse.java Temporal Information stored from each background fix will now be the hour only (but still stored as a long to avoid any problems in other parts of the cose) --- .../src/main/java/ceab/movelab/tigabib/services/FixUse.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/services/FixUse.java b/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/services/FixUse.java index 4485ddc..a5505a7 100644 --- a/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/services/FixUse.java +++ b/MosquitoAlert/tigabib/src/main/java/ceab/movelab/tigabib/services/FixUse.java @@ -99,7 +99,9 @@ private void useFix() { double maskedLat = Math.floor(lat / Util.latMask) * Util.latMask; double maskedLon = Math.floor(lon / Util.lonMask) * Util.lonMask; - Fix thisFix = new Fix(maskedLat, maskedLon, time, power, taskFix); + int thisHour = Util.hour(time); + + Fix thisFix = new Fix(maskedLat, maskedLon, thisHour.longValue(), power, taskFix); Util.logInfo(TAG, "this fix: " + thisFix.lat + ';' + thisFix.lng + ';' + thisFix.time + ';' + thisFix.pow); @@ -108,7 +110,6 @@ private void useFix() { // Check for location-based tasks - int thisHour = Util.hour(time); String sc1 = Tasks.KEY_TRIGGERS + " IS NOT NULL AND " + Tasks.KEY_ACTIVE + " = 0 AND " + Tasks.KEY_DONE