Android Repeating Alarm invoking a service
问题 I am trying to send GPS coordinates to server in every 1 minute interval through a background service . It invokes the service for thee first time but it doesn't repeat it . Code for setting the alarm: Intent gpsIntent = new Intent(CheckInActivity.this, GoogleMapService.class); gpsPendingIntent = PendingIntent.getService(CheckInActivity.this, 0, gpsIntent, 0); AlarmManager alarmManager_gps = (AlarmManager)getSystemService(ALARM_SERVICE); Calendar calendar_gps = Calendar.getInstance();