Problems using Smart Location Library
<p>I am trying to use the <a href="https://github.com/mrmans0n/smart-location-lib" rel="noreferrer">Smart Location Library</a> to obtain periodic location updates. But when start the process it fires the listener once then there is no further updates. Here is the code i used </p>

<pre><code>public void startTracking(View v)    {
    provider = new LocationGooglePlayServicesWithFallbackProvider(this);


    Log.i("Tag","Start Tracking");
    SmartLocation smartLocation = new SmartLocation.Builder(this)
            .logging(true)
            .build();

    smartLocation.location(provider)
            .config(LocationParams.BEST_EFFORT)
            .start(this);
    smartLocation.activity().start(this);
}

public void stopTracking(View v) {
    Log.i("Tag","Stop Tracking");
    SmartLocation.with(this).location().stop();
    SmartLocation.with(this).activity().stop();

}

@Override
public void onActivityUpdated(DetectedActivity detectedActivity)
{
    Log.i("Tag","ActivityUpdate : "+detectedActivity.toString());
}

@Override
public void onLocationUpdated(Location location)
{
    Log.i("Tag","LocationUpdate : "+location.getLatitude()+","+location.getLongitude());
}
</code></pre>

<p>This is the Logcat output I got </p>

<pre><code> 01-27 14:09:01.791 3038-3038/com.angulusits.smartlocationtest I/Tag:
 Start Tracking 

 01-27 14:09:01.879 3038-3038/com.angulusits.smartlocationtest I/Tag:
 ActivityUpdate : DetectedActivity [type=STILL, confidence=100] 

 01-27 14:09:02.017 3038-3038/com.angulusits.smartlocationtest I/Tag:
 LocationUpdate : &lt;some-value&gt;,&lt;some-value&gt;
</code></pre>

<p>This is given as soon as i press startButton, Then no more values.</p>

<p>I checked the code on the Library for BEST_EFFORT value which is : </p>

<pre><code>public static final LocationParams BEST_EFFORT = new Builder().setAccuracy(LocationAccuracy.MEDIUM).setDistance(150).setInterval(2500).build();
</code></pre>

<p>So I expected updates every <em>2500 millisecs</em> even if device is not moving.
I would appreciate if someone can point me in the right direction.</p>