I want notify a notification on a widget. but it doesn't show it
I call this function but in emulator android 4.3 just play sound when call this function. and it doesn't show any notification
void DisplayZiyaratPage()
        {
            NotificationCompat.Builder notificationBuilder =
                new NotificationCompat.Builder(this)
                .setContentTitle("Title")
                .setContentText("text")
                .setSound(Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.alarm_sound))
                .setDefaults(Notification.DEFAULT_VIBRATE);
            Intent intent = new Intent(this, ZiyaratActivity.class);
            PendingIntent pendingIntent =PendingIntent.getActivity(this, 0, intent, 0);
            notificationBuilder.setContentIntent(pendingIntent);
            NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
            notificationManager.notify(0, notificationBuilder.build());
        }
 
     
    