У меня есть три сервиса.
MorningNotification, DinnerNotification, EveningNotification
И у меня есть этот код для их инициализации:
morning_notification = new Intent();
morning_notification.setClass(this, MorningNotification.class);
dinner_notification = new Intent();
dinner_notification.setClass(this, DinnerNotification.class);
evening_notification = new Intent();
evening_notification.setClass(this, EveningNotification.class);
После этого я использую их так:
...
/* Запуск сервера */
startService(morning_notification);
...
...
/* Запуск сервера */
startService(dinner_notification);
...
...
/* Запуск сервера */
startService(evening_notification);
...
Но проблема в том, что работает только служба MorningNotification. Но мне нужно запустить все три.
У меня есть этот журнал:
W/Choreographer﹕ Already have a pending vsync event. There should only be one at a time.
12-09 09:35:03.025 12961-12961/ru.mentalcalculation E/ViewRootImpl﹕ sendUserActionEvent() mView == null
12-09 09:35:07.895 12961-12961/ru.mentalcalculation W/Choreographer﹕ Already have a pending vsync event. There should only be one at a time.
12-09 09:35:07.895 12961-12961/ru.mentalcalculation E/ViewRootImpl﹕ sendUserActionEvent() mView == null
12-09 09:35:12.845 12961-12961/ru.mentalcalculation W/Choreographer﹕ Already have a pending vsync event. There should only be one at a time.
12-09 09:35:12.845 12961-12961/ru.mentalcalculation E/ViewRootImpl﹕ sendUserActionEvent() mView == null
Подробнее здесь: https://stackoverflow.com/questions/273 ... sync-event
Android – уже есть ожидающее событие vsync ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение