Hi i want to update service running in background on every 15 minutes interval on specifically on the 15 minutes current time basis.
Service:
public class UpdateService extends IntentService {
public UpdateService() {
super("UpdateService");
}
// will be called asynchronously by Android
@Override
protected void onHandleIntent(Intent intent) {
updateFragmentUI();
}
private void updateFragmentUI() {
this.sendBroadcast(new Intent().setAction("UpdateChart"));
}
}