Giter Club home page Giter Club logo

traccar-manager-android's Introduction

Overview

Traccar is an open source GPS tracking system. This repository contains Java-based back-end service. It supports more than 200 GPS protocols and more than 2000 models of GPS tracking devices. Traccar can be used with any major SQL database system. It also provides easy to use REST API.

Other parts of Traccar solution include:

There is also a set of mobile apps that you can use for tracking mobile devices:

Features

Some of the available features include:

  • Real-time GPS tracking
  • Driver behaviour monitoring
  • Detailed and summary reports
  • Geofencing functionality
  • Alarms and notifications
  • Account and device management
  • Email and SMS support

Build

Please read build from source documentation on the official website.

Team

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

traccar-manager-android's People

Contributors

bonish avatar garyvdm avatar tananaev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traccar-manager-android's Issues

Reports tab

It is not possible to change the width of columns in Reports tab. So for time stamp is only date is visible; time is not visible.
Other tabs like Devices, State works ok, width of columns can be changed.

Self-signed SSL support

Hi,

Question: It looks like traccar-manager-android (its okhttp) does not support/implement https with self-signed certificates. Is that correct? Would it be possible to add that as an feature?

Crash from Google Play

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.traccar.manager/org.traccar.manager.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.io.File.mkdir()' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2521)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2595)
    at android.app.ActivityThread.access$800(ActivityThread.java:178)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
    at android.os.Handler.dispatchMessage(Handler.java:111)
    at android.os.Looper.loop(Looper.java:194)
    at android.app.ActivityThread.main(ActivityThread.java:5631)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.io.File.mkdir()' on a null object reference
    at maps.dz.o.a(Unknown Source)
    at maps.dg.e.a(Unknown Source)
    at maps.dg.p.a(Unknown Source)
    at maps.ei.ag.a(Unknown Source)
    at maps.ei.bu.a(Unknown Source)
    at maps.ei.n$1.a(Unknown Source)
    at maps.ei.n.a(Unknown Source)
    at com.google.android.gms.maps.internal.i$a.onTransact(:com.google.android.gms.alldynamite:107)
    at android.os.Binder.transact(Binder.java:385)
    at com.google.android.gms.maps.internal.IMapFragmentDelegate$zza$zza.onCreateView(Unknown Source)
    at com.google.android.gms.maps.SupportMapFragment$zza.onCreateView(Unknown Source)
    at com.google.android.gms.dynamic.zza$4.zzb(Unknown Source)
    at com.google.android.gms.dynamic.zza.zza(Unknown Source)
    at com.google.android.gms.dynamic.zza.onCreateView(Unknown Source)
    at com.google.android.gms.maps.SupportMapFragment.onCreateView(Unknown Source)
    at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
    at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
    at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
    at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:602)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1244)
    at android.app.Activity.performStart(Activity.java:6108)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2478)
    ... 10 more

feedback Traccar-Manager-Webview

@tananaev
I'm testing Tracca-Manager-Webview and it works fine, while I want to tell you a detail that happens in REPORTS + CONFIGURE, the window needs to be moved sideways to select what you need. It looks like the SETTINGS window is not responsive like the rest of the app that has sliders.

It seems to be more promising than the native Android version, congratulations!

JSON File Issue

Where, I will get traccar-manager-android.json ?
OR
I need to create my own .json file from firebase console ?

Webview vs Native

What are the differences between the two branches? I would like to know the pro/cons for each so that I can choose which one to use.

  • jss

Traccar Manager for android

server 3.7
I can not log my server traccar. I tested my server through the browser on android and all right.

no found many just url configuration options.

Frequency:reporting intervals...

Hello,

Introduction:

I have tested >50 GPS trackers and smartphones (iOS and Android). Different makes and models from expensive to very cheap.
The best GPS tracker I have found so far is an Apple smartphone, but this is a very expensive gameplay.
I have decided to go for a cheaper Android alternative, but there is an issue I would like to understand (maybe solve).

The issue:

When I set frequency to 2 seconds (that is what we need), the best we get is every 6 seconds a trace, but mainly between 20 seconds to 5 minutes.
As long as the device doesn't move, we don't care about not getting a trace, but while the device moves, we need to know exactly where this is located.

Any idea on how to improve this? Any idea what on Android is holding the device in sending no less than 6 seconds?

Thank you in advance for every suggestions
Krgds
Patrick

App reconnect after background

Seems that the app takes quite a while to reconnect to server after it has been in the background, its far faster for me to kill the app then restart it again.

Can the app detect that it was in the background and just reload the whole page again when it is opened?

Auto select device

Hi!
Is there any options to auto select one and only (or first) device?
After app started, I have to open devices, and select it to follow.
I think it would be more convenient, if I have only one device and "follow" button is pressed then select automaticaly.
Thanks

Change server

Hi,

after setting the server for the first time there is no way of changing this server settings. Tried removing and reinstalling the manager but no luck. Think the settings are stored somewhere in Android. Could you add a menu for changing the server?

Server Request Error

Hello,
When I log in Traccar Manager error " Server Request Error" appears me .
Log in from my cell on the website without problems.

Android Manager devices only circle not showing

Hi i have been trying to use Android Manager on Traccar Server 3.6v with no success when im trying to login with Android Traccar manager devices not showing only circle around and no response...
I have installed traccar on VPS so i assume all ports are open and no problem with webpage login...
I have tryed with registered e-mail and password and also with registered username no luck....

Is there any problem with app or can anyone help me what to check ... Im a bit lost ...
App is from google play officialy downloaded
tryed: http://MYIP:PORT and IP:PORT no luck...

I GOT Server request error
Using MYSQL on server

Default Server URL

I would like there to be a default value for the server field.

Is there an easy way to have a string defined in "app/src/main/res/value/strings.xml" and used to preset the server field on initial setup?

  • jss

can we add filter bases on group in manager android application

Hi Team ,
Thank you for this awesome project , highly appreciate your effort .

i just need to know , can we add filer while log in into manager , so only selected group devices will display and other group device will not display :) :) :)

Thank in advance

No markers from devices

Hi,
I am using my own traccar server.
Currently i have a situation, that if i connected to internet via wifi at work, then no any markers are visible from my devices in android traccar manager. All other functionality works ok, like routes, devices list, etc.
If i connected to internet by some other means, like by mobile network of wifi at home - all works ok.
Is anyone can suggest something? What i can check? Where to debug? :-)
Is there are some special communication chanell is used for markers, which is different than for lines of route or other UI, which may be blocked by admins of wifi at work?

Google Play issue

java.lang.IllegalArgumentException: Illegal URL: 36.83.249.8:8082
    at retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:418)
    at org.traccar.manager.MainApplication.initService(MainApplication.java:96)
    at org.traccar.manager.MainApplication.getServiceAsync(MainApplication.java:63)
    at org.traccar.manager.MainFragment.createWebSocket(MainFragment.java:191)
    at org.traccar.manager.MainFragment.onMapReady(MainFragment.java:134)
    at com.google.android.gms.maps.SupportMapFragment$zza$1.zza(Unknown Source)
    at com.google.android.gms.maps.internal.zzo$zza.onTransact(Unknown Source)
    at android.os.Binder.transact(Binder.java:380)
    at com.google.android.gms.maps.internal.v$a$a.a(:com.google.android.gms.alldynamite:82)
    at maps.ei.bu$6.run(Unknown Source)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:155)
    at android.app.ActivityThread.main(ActivityThread.java:5721)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

Ssl issues with Android 7

Hey,

we still have no "ignore SSL certs" option in traccar-manager. You remember? I asked for it a while ago. :)

However:
Until Android 6.0.1 it was possible to "accept" that by importing a root-CA into the android user cert store. By doing so, any app was able to trust what has been signed by that user-driven CA. A good way to use SSL but not any official CA (which is still the plan, I dont want to go to lets-encrypt by reasons). Unfortunaltely, importing a user-cert was "global" to any app.

With android 7 thats not possible anymore with traccar-manager right now - see: https://blog.jeroenhd.nl/article/android-7-nougat-and-certificate-authorities and https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html

Might be a good thing in sense of security, but it would be nice to offer the user at least some ways out if he really wants to.

Could you eventually:

  1. Add an "ignore SSL certs" option as asked a while ago
  • or -
  1. implement
<network-security-config>  
      <base-config>  
            <trust-anchors>  
                <!-- Trust preinstalled CAs -->  
                <certificates src="system" />  
                <!-- Additionally trust user added CAs -->  
                <certificates src="user" />  
           </trust-anchors>  
      </base-config>  
 </network-security-config>

?

Would that be possible? Or shall I create a PR?

Martin

after app login detail crash

I check this app , but asking for 2 time email and password i dint get about this after fill all details app crash

Crash from Google Play

java.lang.IllegalStateException: Fragment MainFragment{cf108f1} not attached to Activity
    at android.support.v4.app.Fragment.getResources(Fragment.java:636)
    at android.support.v4.app.Fragment.getString(Fragment.java:658)
    at org.traccar.manager.MainFragment.formatDetails(MainFragment.java:139)
    at org.traccar.manager.MainFragment.handleMessage(MainFragment.java:164)
    at org.traccar.manager.MainFragment.access$400(MainFragment.java:57)
    at org.traccar.manager.MainFragment$3$1$1$1.run(MainFragment.java:220)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5910)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

Feature request: App Notification

We now have notifications sent via EMAIL and via WEB.
Could you add a third column to notify via APP ?
(TManagerAlert icon appears in the top notification bar of our Android device)
THANKS

Traccar manager

it was otimo after the last update, however it is not updating automatically position as the web

Traccar manager

When I open the application, shows the correct location, the date and the time is right, but does not update, have to close and reopen for the new position

No map showing after login

Hello everybody,

I just built the current code for android manager, the one that have the options to send commands to the device, but the map is not showing, neither the devices in the map (They appear in the devices list).

I am not sure if i did something wrong during the build, or if this something happening in the code?
I tried in two different smartphones (android 4 and 5 with same result, also after update play services)

I just want figure out the best way to fix this.

f6ad6a7e-661f-4deb-b77b-b095b8bcefb9

Traccar manager

Hello, how to deploy a warning system?
example: in case of movement or speed, receive a warning

Android Traccar Manager

Hello,
Can you please tell me which Plateform you used to develop the Android Traccar Manager.
(Android studio, Eclipse, ...)
Thanks

fdroid repo availability?

I have seen that the only app you have listed in fdroid is traccar client for android but doesnt seem as updated as the version on google play. Is it possible you can make traccar client and manager available in fdroid?
For the users who dont use gapps. would be useful!

Not Connecting to Server

Hi Anton,
I use official traccar server (downloaded from traccar.org), server is running well and ok... but traccar manager app is not connecting to my server... i use an ISP which provides dynamik public IP so i have made a dynamik dsn host name from noip.com through that host name devices are connecting yo my server well but traccar manager or traccar viewer is not connecting. One more thing to know can more than one traccar manager log in simultaneously?

My Host name is: babislg.zapto.org
Server User ID & Passwod as default.

Cannot logout of app

When I try to logout, it appears to work but on closing and restarting the app I am logged back into the account I was in previously.

Sattellite view and battery status

Hello!
I want to display among the lat,long,speed and course the battery percentage. Also change the map to sattellite view.
Can you help me?
Thanks!

Seems like this is using google maps and no choice to use open street maps!

Is it possible to support the freedom to choose the map layer just like on the server web interface?
For the users who want to use open street maps, instead of the current google maps.
What do you think?

Also, Are the current google maps downloaded or does it need internet to zoom in, does it download the map as you use it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.