startForeground() does not show my Notification
I am trying to make my Service running in foreground. I tried to use this example (please look for the section " Running a Service in the Foreground "), but startForeground() does not actually show my notification. And no exceptions is thrown. To make it shown, I need to use NotificationManager like here explained. With NotificationManager my notification works, but i'm not sure that my Service is foreground after this "silent" call to startForeground() . What can be wrong? EDIT : I just tested this sample project that should demonstrate startForeground() , but it does not work! I use API v7.0