-
Notifications
You must be signed in to change notification settings - Fork 0
/
wordpress.xml
1142 lines (1048 loc) · 52.4 KB
/
wordpress.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
This is a WordPress eXtended RSS file generated by WordPress as an export of your site.
It contains information about your site's posts, pages, comments, categories, and other content.
You may use this file to transfer that content from one site to another.
This file is not intended to serve as a complete backup of your site.
To import this information into a WordPress site follow these steps:
1. Log in to that site as an administrator.
2. Go to Tools: Import in the WordPress admin panel.
3. Install the "WordPress" importer from the list.
4. Activate & Run Importer.
5. Upload this file using the form provided on that page.
6. You will first be asked to map the authors in this export file to users
on the site. For each author, you may choose to map to an
existing user on the site or to create a new user.
7. WordPress will then import each of the posts, pages, comments, categories, etc.
contained in this file into your site.
-->
<!-- generator="WordPress.com" created="2016-03-26 09:19"-->
<rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.2/">
<channel>
<title>Curious Thoughts</title>
<link>https://swarajsaaj.wordpress.com</link>
<description>-Thoughts on technology by Swaraj Pal (swarajsaaj)</description>
<pubDate>Sat, 26 Mar 2016 09:19:33 +0000</pubDate>
<language>en</language>
<wp:wxr_version>1.2</wp:wxr_version>
<wp:base_site_url>http://wordpress.com/</wp:base_site_url>
<wp:base_blog_url>https://swarajsaaj.wordpress.com</wp:base_blog_url>
<wp:author>
<wp:author_login>swarajsaaj</wp:author_login>
<wp:author_email>[email protected]</wp:author_email>
<wp:author_display_name><![CDATA[swarajsaaj]]></wp:author_display_name>
<wp:author_first_name><![CDATA[]]></wp:author_first_name>
<wp:author_last_name><![CDATA[]]></wp:author_last_name>
</wp:author>
<wp:category>
<wp:term_id>64303840</wp:term_id>
<wp:category_nicename>android-how-tos</wp:category_nicename>
<wp:category_parent/>
<wp:cat_name><![CDATA[Android How-Tos]]></wp:cat_name>
</wp:category>
<wp:category>
<wp:term_id>1</wp:term_id>
<wp:category_nicename>uncategorized</wp:category_nicename>
<wp:category_parent/>
<wp:cat_name><![CDATA[Uncategorized]]></wp:cat_name>
</wp:category>
<wp:tag>
<wp:term_id>641922</wp:term_id>
<wp:tag_slug>android</wp:tag_slug>
<wp:tag_name><![CDATA[android]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>472126</wp:term_id>
<wp:tag_slug>gcm</wp:tag_slug>
<wp:tag_name><![CDATA[gcm]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>98368909</wp:term_id>
<wp:tag_slug>google-cloud-messaging</wp:tag_slug>
<wp:tag_name><![CDATA[google cloud messaging]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>472169820</wp:term_id>
<wp:tag_slug>google-services-json</wp:tag_slug>
<wp:tag_name><![CDATA[google-services.json]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>100866</wp:term_id>
<wp:tag_slug>guide</wp:tag_slug>
<wp:tag_name><![CDATA[guide]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>2708</wp:term_id>
<wp:tag_slug>how-to</wp:tag_slug>
<wp:tag_name><![CDATA[how to]]></wp:tag_name>
</wp:tag>
<wp:tag>
<wp:term_id>17130822</wp:term_id>
<wp:tag_slug>push-notifications</wp:tag_slug>
<wp:tag_name><![CDATA[push notifications]]></wp:tag_name>
</wp:tag>
<wp:term>
<wp:term_id>472170106</wp:term_id>
<wp:term_taxonomy>mentions</wp:term_taxonomy>
<wp:term_slug>swarajsaaj</wp:term_slug>
<wp:term_parent/>
<wp:term_name><![CDATA[swarajsaaj]]></wp:term_name>
</wp:term>
<generator>http://wordpress.com/</generator>
<image>
<url>https://s2.wp.com/i/buttonw-com.png</url>
<title>Curious Thoughts</title>
<link>https://swarajsaaj.wordpress.com</link>
</image>
<item>
<title>About</title>
<link>https://swarajsaaj.wordpress.com/about/</link>
<pubDate>Tue, 01 Sep 2015 12:02:36 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.wordpress.com/?page_id=1</guid>
<description/>
<content:encoded><![CDATA[This is Swaraj Pal (swarajsaaj). I love programming, designing and engineering applications. Be it Server Side, Mobile or anything that caters my curiousity.
Get in touch at:-
<a href="https://github.com/swarajsaaj" target="_blank">Github</a>
<a href="https://www.linkedin.com/in/swarajsaaj" target="_blank">LinkedIn</a>
<a href="https://www.facebook.com/swarajsaaj?_rdr" target="_blank">Facebook</a>
Or drop a mail at:-
swarajpalsaaj [at] yahoo [dot] co [dot] in
Would love hearing from you.]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>1</wp:post_id>
<wp:post_date>2015-09-01 12:02:36</wp:post_date>
<wp:post_date_gmt>2015-09-01 12:02:36</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name>about</wp:post_name>
<wp:status>publish</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>page</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:postmeta>
<wp:meta_key>_wp_page_template</wp:meta_key>
<wp:meta_value><![CDATA[default]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_edit_last</wp:meta_key>
<wp:meta_value><![CDATA[93805363]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>geo_public</wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title>Multicolored-bubbles</title>
<link>https://swarajsaaj.wordpress.com/multicolored-bubbles/</link>
<pubDate>Wed, 21 Oct 2015 09:08:53 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2015/10/multicolored-bubbles.jpg</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>6</wp:post_id>
<wp:post_date>2015-10-21 09:08:53</wp:post_date>
<wp:post_date_gmt>2015-10-21 09:08:53</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>multicolored-bubbles</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2015/10/multicolored-bubbles.jpg</wp:attachment_url>
</item>
<item>
<title>cropped-multicolored-bubbles.jpg</title>
<link>https://swarajsaaj.wordpress.com/cropped-multicolored-bubbles-jpg/</link>
<pubDate>Wed, 21 Oct 2015 09:09:06 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles.jpg</guid>
<description/>
<content:encoded><![CDATA[http://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles.jpg]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>7</wp:post_id>
<wp:post_date>2015-10-21 09:09:06</wp:post_date>
<wp:post_date_gmt>2015-10-21 09:09:06</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>cropped-multicolored-bubbles-jpg</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles.jpg</wp:attachment_url>
<wp:postmeta>
<wp:meta_key>_wp_attachment_context</wp:meta_key>
<wp:meta_value><![CDATA[custom-header]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_wp_attachment_custom_header_last_used_pub/truly-minimal</wp:meta_key>
<wp:meta_value><![CDATA[1445418724]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_wp_attachment_is_custom_header</wp:meta_key>
<wp:meta_value><![CDATA[pub/truly-minimal]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title>Multicolored-bubbles</title>
<link>https://swarajsaaj.wordpress.com/multicolored-bubbles-2/</link>
<pubDate>Wed, 21 Oct 2015 09:10:09 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2015/10/multicolored-bubbles1.jpg</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>8</wp:post_id>
<wp:post_date>2015-10-21 09:10:09</wp:post_date>
<wp:post_date_gmt>2015-10-21 09:10:09</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>multicolored-bubbles-2</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2015/10/multicolored-bubbles1.jpg</wp:attachment_url>
</item>
<item>
<title>cropped-multicolored-bubbles1.jpg</title>
<link>https://swarajsaaj.wordpress.com/cropped-multicolored-bubbles1-jpg/</link>
<pubDate>Wed, 21 Oct 2015 09:11:47 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles1.jpg</guid>
<description/>
<content:encoded><![CDATA[http://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles1.jpg]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>9</wp:post_id>
<wp:post_date>2015-10-21 09:11:47</wp:post_date>
<wp:post_date_gmt>2015-10-21 09:11:47</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>cropped-multicolored-bubbles1-jpg</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2015/10/cropped-multicolored-bubbles1.jpg</wp:attachment_url>
<wp:postmeta>
<wp:meta_key>_wp_attachment_context</wp:meta_key>
<wp:meta_value><![CDATA[custom-header]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_wp_attachment_custom_header_last_used_pub/truly-minimal</wp:meta_key>
<wp:meta_value><![CDATA[1445418709]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_wp_attachment_is_custom_header</wp:meta_key>
<wp:meta_value><![CDATA[pub/truly-minimal]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title/>
<link>https://swarajsaaj.wordpress.com/?p=13</link>
<pubDate>Mon, 30 Nov -0001 00:00:00 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">https://swarajsaaj.wordpress.com/?p=13</guid>
<description/>
<content:encoded><![CDATA[Building a gradle file.
<code>[code language="gradle"]
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.google.gms:google-services:1.5.0-beta2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}</code>
[/code]]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>13</wp:post_id>
<wp:post_date>2016-03-06 20:00:05</wp:post_date>
<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name/>
<wp:status>draft</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category>
<wp:postmeta>
<wp:meta_key>_edit_last</wp:meta_key>
<wp:meta_value><![CDATA[93805363]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title/>
<link>https://swarajsaaj.wordpress.com/?p=14</link>
<pubDate>Mon, 30 Nov -0001 00:00:00 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">https://swarajsaaj.wordpress.com/?p=14</guid>
<description/>
<content:encoded><![CDATA[sdf
]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>14</wp:post_id>
<wp:post_date>2016-03-06 14:12:49</wp:post_date>
<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name/>
<wp:status>draft</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category>
</item>
<item>
<title>Abc</title>
<link>https://swarajsaaj.wordpress.com/?p=17</link>
<pubDate>Mon, 30 Nov -0001 00:00:00 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">https://swarajsaaj.wordpress.com/?p=17</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>17</wp:post_id>
<wp:post_date>2016-03-06 18:56:18</wp:post_date>
<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name/>
<wp:status>draft</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category>
<wp:postmeta>
<wp:meta_key>_edit_last</wp:meta_key>
<wp:meta_value><![CDATA[93805363]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title/>
<link>https://swarajsaaj.wordpress.com/2016/03/06/18/</link>
<pubDate>Sun, 06 Mar 2016 14:29:01 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">https://swarajsaaj.wordpress.com/?p=18</guid>
<description/>
<content:encoded><![CDATA[[code language="java"]
int a =2;
for(int i=0;i<1;i++){
System.out.println("i :"+i);
}
[/code]
]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>18</wp:post_id>
<wp:post_date>2016-03-06 19:59:01</wp:post_date>
<wp:post_date_gmt>2016-03-06 14:29:01</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name>18</wp:post_name>
<wp:status>trash</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category>
<wp:postmeta>
<wp:meta_key>_wp_trash_meta_status</wp:meta_key>
<wp:meta_value><![CDATA[draft]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_wp_trash_meta_time</wp:meta_key>
<wp:meta_value><![CDATA[1457274569]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title>Android Push Notifications using GCM (Google Cloud Messaging)</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/</link>
<pubDate>Sun, 13 Mar 2016 09:53:22 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">https://swarajsaaj.wordpress.com/?p=27</guid>
<description/>
<content:encoded><![CDATA[<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-notification1.png" rel="attachment wp-att-66"><img class="alignnone wp-image-66" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-notification1.png?w=300" alt="gcm-notification-header" width="734" height="181" /></a>
Hi, this is my first post as a blogger, in this post I 'll show you how to send push notifications using GCM (Google Cloud messaging) from our HTTP server (or using curl, Postman or any Http Client).
<blockquote>This post shows the new method which is using <strong>google-services.json</strong></blockquote>
Google provides GCM(Google Cloud Messaging) servers that allow sending downstream messages to registered Android devices and upstream messages from Device to Servers.<!--more--> In this post the focus will be only on the former part of sending downstream messages to Device from our server.
GCM Messages can have a maximum payload data of 4kb, enough to accommodate a Notification Title, the content and an image url and some other internal data that may be needed by the application for performing the required action like synchronizing the data like emails, product list, messages etc.
Let us have a look at the working Architecture:-
<a href="https://swarajsaaj.files.wordpress.com/2016/03/architecture.png" rel="attachment wp-att-41"><img class="alignnone wp-image-41" src="https://swarajsaaj.files.wordpress.com/2016/03/architecture.png?w=300" alt="architecture" width="668" height="352" /></a>
Let me clear a major misconception that GCM Messages are Notifications, but GCM Messages are the payload (usually JSON data) that is sent from the server to our Device (or multiple devices), the android device receives the JSON payload in real-time and the code implemented in Android Application may or may not display a notification based on the data received.
So let us get started implementing the Push Notifications in our app. In first step we will generate a <strong>Server API Key</strong>, for identifying our server backend , In second step we will generate a device <strong>token</strong> that will be used as an identity for our device for receiving messages.
<h2><strong>Register the Application and Generate API Keys</strong></h2>
We need to register our application and generate the google-services.json which will contain the API keys required.
<ol>
<li>Open <a href="https://developers.google.com/mobile/add">https://developers.google.com/mobile/add</a> to GCM services to our app.</li>
<li>Follow these steps to generate the google-services.json file
<ol>
<li>Click on "Pick a Platform"
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add1.png" rel="attachment wp-att-35"><img class="alignnone wp-image-35" src="https://swarajsaaj.files.wordpress.com/2016/03/add1.png?w=300" alt="add1" width="596" height="373" /></a></li>
<li>Choose "Enable Services for my Android App" (in this case we are doing it for Android)
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add2.png" rel="attachment wp-att-36"><img class="alignnone wp-image-36" src="https://swarajsaaj.files.wordpress.com/2016/03/add2.png?w=300" alt="add2" width="595" height="306" /></a></li>
<li>Give your application name in "App name" and the package name for our application in "Android package name", in case you don't know the package name, you can check it in your AndroidManifest.xml file in the first line in manifest tag) and click "Continue and configure services"
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add3.png" rel="attachment wp-att-37"><img class="alignnone wp-image-37" src="https://swarajsaaj.files.wordpress.com/2016/03/add3.png?w=300" alt="add3" width="601" height="371" /></a></li>
<li>In this screen , you can choose the services which you want to add to enable for the application, Choose "Cloud messaging" as of now.
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add4.png" rel="attachment wp-att-38"><img class="alignnone wp-image-38" src="https://swarajsaaj.files.wordpress.com/2016/03/add4.png?w=300" alt="add4" width="599" height="390" /></a></li>
<li>Okay, we are good with configuration now, Save the "Server API Key" and "Sender ID" at some place, we will need it later.
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add51.png" rel="attachment wp-att-44"><img class="alignnone wp-image-44" src="https://swarajsaaj.files.wordpress.com/2016/03/add51.png?w=300" alt="add5" width="605" height="248" /></a></li>
<li>Click "Generate Configuration files"</li>
<li>Download the "<strong>google-service.json</strong>" file by clicking on "Download google-services.json" button.
<a href="https://swarajsaaj.files.wordpress.com/2016/03/add6.png" rel="attachment wp-att-40"><img class="alignnone wp-image-40" src="https://swarajsaaj.files.wordpress.com/2016/03/add6.png?w=300" alt="add6" width="602" height="259" /></a></li>
</ol>
</li>
</ol>
<h1><strong>Setting up Android App for receiving the GCM Messages and displaying Notifications</strong></h1>
Guide to set up the Android App (Client Side) for receiving the GCM Push notifications.
<ol>
<li>Create a New Project by going to File->New->New Project and make sure to create the app with package name as you gave in last section while obtaining <strong>google-services.json</strong></li>
<li>Copy<strong> google-services.json</strong> to your project's app/ folder
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-google-services.png" rel="attachment wp-att-56"><img class="alignnone wp-image-56" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-google-services.png?w=233" alt="gcm-google-services" width="362" height="465" /></a></li>
<li>Add following classpath to your project level build.gradle file
[code]
classpath 'com.google.gms:google-services:1.5.0-beta2'
[/code]
</li>
<li>Add following dependency to your app level build.gradle file
[code]
dependencies {
compile "com.google.android.gms:play-services:8.3.0"
}
[/code]
Apply the google services plugin by adding following line at end of app level build.gradle
[code]
apply plugin: 'com.google.gms.google-services'
[/code]
</li>
<li>Edit AndroidManifest.xml to add following permissions and Listeners
[code language="xml"]
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.wordpress.swarajsaaj.app.notificationdemo">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.wordpress.swarajsaaj.app.notificationdemo" />
</intent-filter>
</receiver>
<service
android:name=".MyGcmListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".MyInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
<service android:name=".RegisterationService"/>
</application>
</manifest>
[/code]
In detail, above we have added, 1 receiver and 3 services:-
a.
[code language="xml"]
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.wordpress.swarajsaaj.app.notificationdemo" />
</intent-filter>
</receiver>
[/code]
GcmReceiver is the receiver that receives the downstream messages from GCM Server, when sent to this device.<code></code>
[code]com.google.android.c2dm.intent.RECEIVE[/code]
permission is needed so that this receiver can receive messages that belong the package specified in category i.e.
[code]com.wordpress.swarajsaaj.app.notificationdemo[/code]
b.
[code language="xml"]
<service android:name=".RegisterationService"/></pre>
<pre><service
android:name=".MyInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service></pre>
<pre><service
android:name=".MyGcmListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
[/code]
These 3 services will be implemented in next steps, lets discuss what they are for:-
<strong>RegisterationService:- </strong>Registers our device for the first time so that we can have a token for device identity, which will be used for sending the GCM messages/notification to this device.
<strong>MyInstanceIDListenerService:- </strong>Instance ID is the token for our device that was received during registering our device at GCM Server, if the token is refreshed due to any reason this service handles the device registration once again and updating the token on our backend server.
<strong>
MyGcmListenerService:- </strong>This will be our interface to all the GCM messages being redirected to our app, We can either show notifications for these messages, process them in background or perform any database operations etc.</li>
<li>Lets get our hands on some Java code , Lets create the <strong>RegisterationService.Java</strong> that serves the simple purpose of registering our application and logs a the token against which the device is registered.
[code language="java"]
package com.wordpress.swarajsaaj.app.notificationdemo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
/**
* Created by swarajpal on 06-03-2016.
*/
public class MainActivity extends AppCompatActivity {
private final String TAG = this.getLocalClassName();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.d(TAG,"Creating token");
Intent intent = new Intent(this, RegisterationService.class);
startService(intent);
}
}
[/code]
</li>
<li>Create MyInstanceIDListenerService.java as discussed above.
[code language="java"]
package com.wordpress.swarajsaaj.app.notificationdemo;
import android.content.Intent;
import com.google.android.gms.iid.InstanceIDListenerService;
/**
* Created by swarajpal on 06-03-2016.
*/
public class MyInstanceIDListenerService extends InstanceIDListenerService {
private static final String TAG = "MyInstanceIDLS";
/**
* Called if InstanceID token is updated. This may occur if the security of
* the previous token had been compromised. This call is initiated by the
* InstanceID provider.
*/
@Override
public void onTokenRefresh() {
// Fetch updated Instance ID token and notify our app's server of any changes (if applicable).
Intent intent = new Intent(this, RegisterationService.class);
startService(intent);
}
// [END refresh_token]
}
[/code]
The onTokenRefresh() method re registers the application using RegistertionService.java , you may optionally update the token on your server in this part.</li>
<li>Create the <strong>MyGcmListenerService.java</strong> for receiving the Push messages.
[code language="java"]
package com.wordpress.swarajsaaj.app.notificationdemo;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import com.google.android.gms.gcm.GcmListenerService;
/**
* Created by swarajpal on 06-03-2016.
*/
public class MyGcmListenerService extends GcmListenerService {
private static final String TAG = "MyGcmListenerService";
/**
* Called when message is received.
*
* @param from SenderID of the sender.
* @param data Data bundle containing message data as key/value pairs.
* For Set of keys use data.keySet().
*/
@Override
public void onMessageReceived(String from, Bundle data) {
String message = data.getString("message");
//Launch Notification
sendNotification(message);
}
/**
* Create and show a simple notification containing the received GCM message.
*
* @param message GCM message received.
*/
private void sendNotification(String message) {
Intent intent = new Intent(this, MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 /* Request code */, intent,
PendingIntent.FLAG_ONE_SHOT);
Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
.setContentTitle("GCM Message")
.setSmallIcon(R.mipmap.ic_launcher)
.setContentText(message)
.setAutoCancel(true)
.setSound(defaultSoundUri)
.setContentIntent(pendingIntent);
NotificationManager notificationManager =
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.notify(0 /* ID of notification */, notificationBuilder.build());
}
}
[/code]
The onMessageReceived has two arguments String <strong>"from" </strong>and Bundle <strong>"data", </strong>data contains the payload which is sent from the server.
sendNotification() method is a simple bare bones method for displaying notifications using NotificationManager.</li>
<li>Build and Launch the application using Phone or emulator, and lets test using <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">POSTMAN</a> which allows us making HTTP requests, or you can also send one using cURL using command line.Once you have run the application, the first thing it does is Register the device for a GCM token and Log it in console , here as shown.
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-log.png" rel="attachment wp-att-57"><img class="alignnone wp-image-57" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-log.png?w=300" alt="gcm-log" width="880" height="176" /></a>
Copy this token , which will be needed while sending the GCM message.Lets understand the JSON payload we are going to send to our device from server
[code language="language="]
{ "data": {
"title": "offer 3.",
"message": "Click to avail the offer."
},
"to" : "<YOUR_DEVICE_TOKEN>"
}
[/code]
We have in Headers the
<strong> Authorization: key=<YOUR_SERVER_API_KEY>
</strong> which has our API_SERVER_KEY that we got in last section while registering our app.
Here "data" is the payload that will actually be transmitted to our device , we have two string in data json, the title and message that are handled in our <strong>MyGcmListenerService.java</strong> as shown in previous step.
The "to" field contains the token of the device we got after device registration, which denotes where the json payload will be sent to.
Now you can make the http request using your backend server if you already have one like:-
1. Use <a href="https://github.com/guzzle/guzzle" target="_blank">Guzzle</a> if you are using PHP
2. Use <a href="http://unirest.io/" target="_blank">Unirest</a> for alot of other languages
3. Make request using $.post, $.ajax using jQuery.
Or if you dont have a backend yet, you can always try out using following methods.
<strong>Sending Request using POSTMAN,</strong>
Assuming you have downloaded and installed POSTMAN in chrome, lets use following configuration
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-headers.png" rel="attachment wp-att-54"><img class="alignnone wp-image-54" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-headers.png?w=300" alt="gcm-postman-headers" width="847" height="144" /></a>
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-body.png" rel="attachment wp-att-53"><img class="alignnone wp-image-53" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-body.png?w=300" alt="gcm-postman-body" width="834" height="164" /></a>
If all goes well you will have the notification on your device, and following response to HTTP request
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-response.png" rel="attachment wp-att-55"><img class="alignnone wp-image-55" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-response.png?w=300" alt="gcm-postman-response" width="828" height="204" /></a>
<strong>Using command line (cURL)</strong>
Assuming you have <a href="https://curl.haxx.se/download.html" target="_blank">CURL </a>installed, just go to your command line and use following command
Windows
[code] curl -X POST -H "Authorization: key=<YOUR SERVER KEY HERE>" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 1ad4c9bd-6f9e-09e1-cd34-8ff13a22944d" -d @body.json "https://gcm-http.googleapis.com/gcm/send" [/code]
Here body.json is the file which contains the JSON payload
{ "data": {
"title": "offer 3.",
"message": "Click to avail the offer."
},
"to" : "<YOUR_DEVICE_TOKEN>"
}
Linux/Mac
[code]
curl -X POST -H "Authorization: key=<YOUR_SERVER_API_KEY>" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: bc5590f1-4f7a-b588-888c-01fcd0371710" -d '{ "data": { "title": "offer 3.", "message": "Click to avail the offer." }, "to" : "<YOUR_DEVICE_TOKEN>" } ' "https://gcm-http.googleapis.com/gcm/send"
[/code]
The device you are running on must have Google Play Services installed. (i.e. Google Play)</li>
</ol>
So thats it, we have the notification in our application finally after a long marathon.
<a href="https://swarajsaaj.files.wordpress.com/2016/03/gcm-notification.png" rel="attachment wp-att-58"><img class="alignnone wp-image-58" src="https://swarajsaaj.files.wordpress.com/2016/03/gcm-notification.png?w=171" alt="gcm-notification" width="411" height="721" /></a>
This was a simple demonstration of how to get started with GCM Push notifications, you can further send messages to topics, create groups for devices etc. You can further <a href="https://developers.google.com/cloud-messaging/topic-messaging" target="_blank">read here</a>.
Feel free to comment if you find this post useful or have any doubts or issues in setting this up.
~@swarajsaaj
]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>27</wp:post_id>
<wp:post_date>2016-03-13 15:23:22</wp:post_date>
<wp:post_date_gmt>2016-03-13 09:53:22</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name>android-push-notifications-using-gcm-google-cloud-messaging</wp:post_name>
<wp:status>publish</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<category domain="post_tag" nicename="android"><![CDATA[android]]></category>
<category domain="category" nicename="android-how-tos"><![CDATA[Android How-Tos]]></category>
<category domain="post_tag" nicename="gcm"><![CDATA[gcm]]></category>
<category domain="post_tag" nicename="google-cloud-messaging"><![CDATA[google cloud messaging]]></category>
<category domain="post_tag" nicename="google-services-json"><![CDATA[google-services.json]]></category>
<category domain="post_tag" nicename="guide"><![CDATA[guide]]></category>
<category domain="post_tag" nicename="how-to"><![CDATA[how to]]></category>
<category domain="post_tag" nicename="push-notifications"><![CDATA[push notifications]]></category>
<category domain="mentions" nicename="swarajsaaj"><![CDATA[swarajsaaj]]></category>
<wp:postmeta>
<wp:meta_key>_edit_last</wp:meta_key>
<wp:meta_value><![CDATA[93805363]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>geo_public</wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_mentions_term_meta</wp:meta_key>
<wp:meta_value><![CDATA[swarajsaaj]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_publicize_job_id</wp:meta_key>
<wp:meta_value><![CDATA[20708742570]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title>add1</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add1/#main</link>
<pubDate>Sat, 12 Mar 2016 10:43:41 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add1.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>35</wp:post_id>
<wp:post_date>2016-03-12 16:13:41</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:43:41</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add1</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add1.png</wp:attachment_url>
</item>
<item>
<title>add2</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add2/#main</link>
<pubDate>Sat, 12 Mar 2016 10:43:45 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add2.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>36</wp:post_id>
<wp:post_date>2016-03-12 16:13:45</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:43:45</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add2</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add2.png</wp:attachment_url>
</item>
<item>
<title>add3</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add3/#main</link>
<pubDate>Sat, 12 Mar 2016 10:43:53 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add3.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>37</wp:post_id>
<wp:post_date>2016-03-12 16:13:53</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:43:53</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add3</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add3.png</wp:attachment_url>
</item>
<item>
<title>add4</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add4/#main</link>
<pubDate>Sat, 12 Mar 2016 10:44:00 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add4.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>38</wp:post_id>
<wp:post_date>2016-03-12 16:14:00</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:44:00</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add4</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add4.png</wp:attachment_url>
</item>
<item>
<title>add6</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add6/#main</link>
<pubDate>Sat, 12 Mar 2016 10:44:09 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add6.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>40</wp:post_id>
<wp:post_date>2016-03-12 16:14:09</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:44:09</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add6</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add6.png</wp:attachment_url>
</item>
<item>
<title>architecture</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/architecture/#main</link>
<pubDate>Sat, 12 Mar 2016 10:44:15 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/architecture.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>41</wp:post_id>
<wp:post_date>2016-03-12 16:14:15</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:44:15</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>architecture</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/architecture.png</wp:attachment_url>
</item>
<item>
<title>add5</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/add5/#main</link>
<pubDate>Sat, 12 Mar 2016 10:51:33 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/add51.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>44</wp:post_id>
<wp:post_date>2016-03-12 16:21:33</wp:post_date>
<wp:post_date_gmt>2016-03-12 10:51:33</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>add5</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>
<wp:attachment_url>https://swarajsaaj.files.wordpress.com/2016/03/add51.png</wp:attachment_url>
</item>
<item>
<title>gcm-postman-body</title>
<link>https://swarajsaaj.wordpress.com/2016/03/13/android-push-notifications-using-gcm-google-cloud-messaging/gcm-postman-body/#main</link>
<pubDate>Sun, 13 Mar 2016 09:37:18 +0000</pubDate>
<dc:creator>swarajsaaj</dc:creator>
<guid isPermaLink="false">http://swarajsaaj.files.wordpress.com/2016/03/gcm-postman-body.png</guid>
<description/>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>53</wp:post_id>
<wp:post_date>2016-03-13 15:07:18</wp:post_date>
<wp:post_date_gmt>2016-03-13 09:37:18</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:post_name>gcm-postman-body</wp:post_name>
<wp:status>inherit</wp:status>
<wp:post_parent>27</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>attachment</wp:post_type>
<wp:post_password/>
<wp:is_sticky>0</wp:is_sticky>