Android Open Source - spotastop Spot Bus Stop Service

From Project

Back to project page spotastop.


The source code is released under:

MIT License

If you think the Android project spotastop 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

//from  w ww.jav a  m
import requests.Criteria;
import android.content.Intent;
import android.os.IBinder;

import com.cipciop.spotastop.StopSpotApp;

public class SpotBusStopService extends Service {

  public int onStartCommand(Intent intent, int flags, int startid) {
    new Thread(new Runnable() {
      public void run() {
        Criteria c = new Criteria();
        c.addConstraint("resClass", "cipciop\\spotastop\\Line");
        for (int i = 0; i < StopSpotApp.getInstance()
            .getPendingBusStops().size(); i++)
    return 0;

  public IBinder onBind(Intent arg0) {
    // TODO Auto-generated method stub
    return null;


Java Source Code List