UnifiedNlp/sample/src/org/microg/nlp/api/sample/SecondSampleService.java
mar-v-in 38cfcd7ff1 Added UI for config (config itself is missing though)
New way to directly call settings activity of backend (if set), see second sample
2014-03-06 13:20:58 +01:00

16 lines
392 B
Java

package org.microg.nlp.api.sample;
import android.location.Location;
import org.microg.nlp.api.LocationBackendService;
public class SecondSampleService extends LocationBackendService {
@Override
protected Location update() {
Location location = new Location("second-sample");
location.setLatitude(13);
location.setLongitude(13);
location.setAccuracy(100);
return location;
}
}