Android AsyncTask & LocationListener
问题 I created a class GPSController . The onReceive is called every Minute. I want to get the current GPS Data with the GPSListener in my AsyncTask . But the onLocationChanged Method is never called. :-/ Here is my Class: public class GPSController extends SensorTimeController { // The minimum distance to change Updates in meters private static final long MIN_DISTANCE_CHANGE_FOR_UPDATES = 0; // The minimum time between updates in milliseconds private static final long MIN_TIME_BW_UPDATES = 2;