Back to project page activity-tracker.
The source code is released under:
MIT License
If you think the Android project activity-tracker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.hopto.mjancola.model; /* w w w . j av a 2 s .c o m*/ import android.location.Location; import com.google.android.gms.location.DetectedActivity; public interface GenericMovement { public GenericMovement addLocation(Location location); public GenericMovement addDetectedActivity(DetectedActivity detectedActivity); public String getName(); public double getSpeed(); public double getDistance(); public long getDurationMS(); }