According to my experiment, you can really send a notification without its appearing in the notification area, but still play sound.
All you have to do is build a notification builder and set a sound for it, but skip pending intentions, an icon, a content title and content text.
NotificationCompat.Builder builder = new NotificationCompat.Builder(this); builder.setSound(your_sound_uri); notificationManager.notify(1234, builder.build());
frankli
source share