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ó:

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 + 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:

@@ -51,4 +51,4 @@

Mosquito Alert


- \ No newline at end of file + 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計劃會收集,並分享以下資料予公眾和相關的第三方:

@@ -47,4 +47,4 @@

Mosquito Alert


- \ No newline at end of file + 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 + 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 + 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 + 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 + 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", 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