Android Open Source - keepmoving Position Manager

From Project

Back to project page keepmoving.


The source code is released under:

GNU General Public License

If you think the Android project keepmoving listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

 * This file is part of KeepMoving. KeepMoving is free software: you can
 * redistribute it and/or modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation, version 2.
 * <p/>//from   w w w.  j ava 2  s .  c  o m
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 * <p/>
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 51
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 * <p/>
 * Copyright Alfredo Morresi
 * <p/>
 * Created by Alfredo "Rainbowbreeze" Morresi on 07/02/14.
package it.rainbowbreeze.keepmoving.logic;

import java.util.Calendar;

import it.rainbowbreeze.keepmoving.common.ILogManager;
import it.rainbowbreeze.keepmoving.domain.Coord;
import it.rainbowbreeze.keepmoving.domain.Route;
import it.rainbowbreeze.keepmoving.domain.Weekdays;

 * Created by alfredomorresi on 03/07/14.
public class PositionManager {
    private static final String LOG_TAG = PositionManager.class.getSimpleName();
    private final ILogManager mLogManager;

    public PositionManager(ILogManager logManager) {
        mLogManager = logManager;

    public Coord getCurrentPosition() {
        //TODO put here the logic to get the current position
        return GeoPointFixedRepository.getTripStartCoord();

    public Coord getWorkLocation() {
        return GeoPointFixedRepository.getTripEndCoord();

Java Source Code List