Simulating gcm notification from console
In this post I will show only example of using gcm notification broadcasting from console. I assume You have working gcm methods in your project. You must change also in…
In this post I will show only example of using gcm notification broadcasting from console. I assume You have working gcm methods in your project. You must change also in…
Here is an simple example how to use regex in notepad++ with reusing selected match variables. For example we have special code for simulating gcm notifications. We would like to…
Here is a short example how to create notification with default stuff but different sound: NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this) .setSmallIcon(R.drawable.ic_launcher) .setContentTitle("title") .setStyle(new NotificationCompat.BigTextStyle() .bigText("message")) .setContentText("message") .setAutoCancel(true) .setSound(soundUri) .setDefaults(NotificationCompat.DEFAULT_ALL ^…