User Tools

Site Tools


tracker_for_traccar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tracker_for_traccar [2021/01/08 08:53] – [TODO] kalaschnikowtracker_for_traccar [2025/03/13 16:21] (current) – [Features to implement] kalaschnikow
Line 1: Line 1:
 +====== Tracker for Traccar ======
 +
 +===== Tracker for Traccar Versions =====
 +
 +[[Tracker for Traccar Versions]]
 +
 +===== Migration to Jetpack Compose =====
 +
 +[[T4T migration to Jetpack Compose]]
 +
 +===== TODO =====
 +  * **-** [BUG] fix permission problems
 +    * see crashes in Google Play
 +      * see also https://developer.android.com/training/permissions/requesting
 +  * **-** [BUG] Battery is always 0
 +    * see ''OSMAndProtocol.init()'' and call the code every time new location was registered (see ''saveLocation()'')
 +      * [[https://developer.android.com/training/monitoring-device-state/battery-monitoring|Monitoring Battery]] - documentation by Google
 +  * **-** [BUG] Communication loop seems not to work (see ''OSMAndCommunicationRunnable.run()'') 
 +
 +  * **-** [FEATURE] Use now Kotlin OBD library
 +    * library seems to be integrated => test it
 +  * **-** Add an alert if battery optimization for this app is not disabled
 +  * **-** Translate privacy policy to German and Russian
 +  * **-** Add BLE / Ant+ support (see emails from Robin Karinen)
 +  * **-** Website for the app
 +    * **-** FAQ über das Problem mit dem Dienststopp schreiben
 +      * Information zu:
 +        * [[https://stackoverflow.com/questions/31638986/protected-apps-setting-on-huawei-phones-and-how-to-handle-it/35220476#35220476|Huawei]]  
 +        * [[https://stackoverflow.com/questions/39739669/android-alarmmanager-not-working-on-some-devices-when-the-app-is-closed/39739886|anderen Herstellern]] (Xioami, Samsung, ZTE, Lenovo...)
 + 
 +
 +===== Features to implement =====
 +  * **-** Bearing is sometimes always 0 -> fix it
 +    * Links:
 +      * https://stackoverflow.com/questions/41250064/android-how-to-get-gps-bearing
 +        * Try to use ''bearingTo()'' instead of ''getBearing()''
 +        * Check if bearing is available (''hasBearing()'')
 +      * https://www.google.com/search?channel=fs&client=ubuntu&q=android+gps+bearing+0
 +      * https://stackoverflow.com/questions/31388063/android-location-getbearing-always-returns-0 (also see comments)
 +      * also see e-mail from Дима Дима <dr.trem86@gmail.com>
 +    * if all is not possible: we can use compass data to get bearing 
 +  * **-** Сделать возможность изменения периода отправки координат на сервер с помощью таскера (возможно и других настроек тоже) (Ветров)
 +  * **-** Поменять имя параметра "BATTERY" на "batt" (Ветров)
 +  * **-** Добавить параметр "Charging" (заряжается телефон или нет) (Ветров)
 +  * **-** add static app shortcuts for
 +    * start / stop
 +    * for static app shortcuts see also: https://md.eknath.dev/posts/implement-static-app-shortcuts-on-android/ 
 +
 +
 +===== Bugs =====
 +  * **-** STOP_SERVICE изменяет состояние, т.е. если служба была остановлена, то она запускается, и наоборот (Ветров)
 +
 +===== Texts for Online Help =====
 +==== Using intents to control Tracker for Traccar with Tasker and similar tools ====
 +It is possible to control Tracker for Traccar with the help of intents. The following intents are publicly available:
 +  * ''traccar.intent.action.START_SERVICE'' - starts Tracker for Traccar service
 +  * ''traccar.intent.action.STOP_SERVICE'' - stops Tracker for Traccar service
 +  * ''traccar.intent.action.SAVE_LOCATION'' - asks GPS receiver for current location and saves it after the GPS receiver sent the response back. It may take some time dependent of the GPS receiver state. Sending this intent makes sense only if the Tracker for Traccar service is started.   
 +  * ''traccar.intent.action.SAVE_LOCATION_IMMEDIATELY'' - saves last known location immediately. Sending this intent makes sense only if the Tracker for Traccar service is started.
 +
 +===== Monitoring servers =====
 +
 +==== demo.traccar.org ====
 +
 +http://demo.traccar.org/
 +
 +
 +=== Web-Interface ===
 +
 +http://demo.traccar.org/
 +
 +User: kalaschnikow@mail.ru
 +
 +=== Tracker for Traccar Settings ===
 +
 +  * UnitId: 990012000220945\\ 
 +    * Server: demo.traccar.org\\ 
 +    * Port: 5005\\ 
 +    * Protocol: Traccar\\ 
 +    * Schema: http\\ 
 +    * Pfad: //<leer>//\\ 
 +    * Extended location report: On\\ 
 +
 +
 +  * UnitId: 990012000220955\\ 
 +    * Server: demo.traccar.org\\ 
 +    * Port: 5055\\ 
 +    * Protocol: OSMAnd\\ 
 +    * Schema: http\\ 
 +    * Pfad: //<leer>//\\ 
 +    * Extended location report: On\\ 
 +
 +==== litvak.su ====
 +
 +http://traccar.litvak.su/
 +
 +https://github.com/vitalidze/traccar-web
 +
 +=== Web-Interface ===
 +
 +https://d.traccar.litvak.su
 +
 +User: kalaschnikow@mail.ru
 +
 +=== Tracker for Traccar Settings ===
 +
 +UnitId: 355136055496982\\ 
 +Server: d.traccar.litvak.su\\ 
 +Port: 5055\\ 
 +Protocol: OSMAnd\\ 
 +Schema: http\\ 
 +Pfad: //<leer>//\\ 
 +Extended location report: On\\ 
 +
 +==== vialatm ====
 +=== Tracker for Traccar Settings ===
 +UnitId: 990012000220944\\ 
 +Server: vialatm.com (old 151.80.102.131?)
 +Port: 7729 (https - 7708)\\ 
 +Protocol: OSMAnd\\ 
 +Schema: http\\ 
 +Pfad: //<leer>//\\ 
 +Extended location report: On\\ 
 +
 +
 +==== wialon.wialon-consulting.de ====
 +=== Web-Interface ===
 +http://wialon.wialon-consulting.de/
 +
 +User: kalaschnikow
 +
 +=== Tracker for Traccar Settings ===
 +UnitId: 990012000220944\\ 
 +Server: nl.gpsgsm.org\\ 
 +Port: 20873\\ 
 +Protocol: OSMAnd\\ 
 +Schema: http\\ 
 +Pfad: //<leer>//\\ 
 +Extended location report: On\\ 
 +
 +===== Commercial =====
 +
 +==== Голицын, Сергей (ООО Форкам, Москва) ====
 +
 +29.01.2020 We had a talk about tracker. I want to have 3 k€ for product only (no sources!) and small rebranding (name + icon + rebranded main screen).
 +
 +
 +===== Google Play =====
 +
 +==== AdMob ====
 +
 +=== GDPR message ===
 +
 +GDPR = DSGVO(?)
 +
 +  * **+** Create a GDPR message in AdMob (https://apps.admob.com/v2/home?pli=1)
 +    * Info: 
 +      * https://support.google.com/admob/answer/13554116#next-steps
 +      * https://developers.google.com/admob/android/privacy?hl=de -> in Deutsch
 +      * [[https://support.google.com/admob/answer/9035987?sjid=17305507841404253360-EU|FAQ zur DSGVO]] in Deutsch 
 +      * Not from Google:
 +        * https://www.mindk.com/blog/how-to-make-your-software-gdpr-compliant/
 +        * https://teacode.io/blog/development-guide-to-gdpr-compliant-app/
 +    * In short
 +      * CMP = Consent Management Platform
 +      * CMP should be certified by Google
 +      * The end user should consent about data which will be collected (by Google AdMob and its partners)
 +      * For this purpose the app should display a message where the user can consent.
 +      * This message can be edited in AdMob. 
 +      * See also https://support.google.com/admob/answer/10114015?sjid=17305507841404253360-EU