Starting automatically and Hiding the Traccar Client

stallione9 years ago

The idea is to modify the client to do two things.

  1. Start automatically with OS (Android/iOS)
  2. Ability to choose to send it to run in the background (Should not show in active windows)
    I have downloaded a fork of the source code to modify the way the app works, but I was hoping that you would be able to help me a bit Anton.
    For my 1st item in the list, I was thinking that running it as a service would work?
    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
     handleCommand(intent);
     // We want this service to continue running until it is explicitly
     // stopped, so return sticky.
     return START_STICKY;
    }

For the 2nd item, I was thinking adding a button which would move the app out of "running apps"
Any ideas/thoughts on how would I accomplish this?

Anton Tananaev9 years ago
  1. It is possible only on Android and it's already implemented.

  2. There is no way to completely hide the app, but what can be done is already done. I plan to release hidden app version very soon (possibly today).