Chapter 4 – Push Notification Services: Google and Apple

Total Page:16

File Type:pdf, Size:1020Kb

Chapter 4 – Push Notification Services: Google and Apple SOFTWARE ARCHITECTURES Chapter 4 – Push Notification Services: Google and Apple Zachary Cleaver Summary The goal of this paper is to define the structure of push notification systems (PNS), and specifically to analyze the architecture of Android’s PNS’s versus Apple’s as well as to analyze the advantages and limitations of each PNS. I first discuss the basics of a push notification system, looking at how it typically works and highlighting some key features. The next three sections cover Google’s Cloud to Device Messaging system, Google’s Cloud Messaging system, and Apple’s push system. Each section will give an overview of the systems prerequisites, discuss some advantages and disadvantages about its method for sending data, and finally will cover its architectural structure. Push Notification Systems General Structure Push notification systems are similar in design to client-server models. The basic structure of a push notification system is broken down into three parts: an application that will receive data/instructions, a third party service that will provide instructions or information for the app, and a service (Google Cloud Servers, Apple Push Notification Service, etc.) that handles the exchange of information between the two (see Figure 1). Figure 1. High level architectural view. (Provided by Basavraj) History Middleware is software above the level of the operating system but that provides reusable infrastructure services that many applications can share. Notifications systems are a kind of middleware. One of the earliest Notification system specifications was specified by Object Management Group in the early 1990s. 1 SOFTWARE ARCHITECTURES Advantage The server that sends information to the application from the third party server acts as a middleman to communicate and control the rate at which data is exchanged. This allows for information to be “pushed” to a device without having to stress the device by keeping multiple applications running at once. Applications can remain off or idle on a device while the user receives a notification that new information or updates are available for a specific application. This greatly increases run time efficiency on a device by allowing the user to be in control of what apps are running while still being able to receive information from the third party servers. Google’s Cloud to Device Messaging Prerequisites In order for an Android device to receive messages from an application server, there are some basic requirements that must first be met when using the C2DM service (Basavraj) The device must be version 2.2 or higher A registered Google account must be present on the device The server that wishes to send data must be able to “talk” HTTP and connect to the C2DM server The application should have the proper permissions the receive messages from the C2DM service and be able to make an internet connection The developer of the application must register through the C2DM site to use the service Data Sent The amount of data that could be sent by Google’s first notification system was limited to 1024 bytes. Google also restricted the number of continuous messages that could be sent, as well as the number of messages a server can send to a specific device. The maximum number of messages a service could send was 200,000 per day. A drawback of C2DM is that it does not guarantee the delivery of a message to the application and it does not guarantee that the order of multiple messages will be maintained (Basavraj). Bourdeaux elaborates on this and believes in is due to the “file-and-forget” nature of Google’s service. Because of this, developers would be wary to send a notification that their app has a new message rather than sending the message itself. However, Bourdeaux pointed out an improvement at the time versus Apple’s push notification—C2DM allowed the application to be woken up rather than taking Apple’s method of simply sending a notification. This may seem like a minor feature compared to today’s services, but this development helped improve the capabilities and standards for future push notification systems. Main Sequence of Events There are five basic steps that C2DM follows according to Google’s documentation: 1. The third party service sends a message to the C2DM servers that it wishes to pass on to its application 2. The Google servers enqueues and stores the message in its database until it can be delivered if the device is currently offline 2 SOFTWARE ARCHITECTURES 3. The Google servers then pass along the third party service’s message once the recipient device comes online 4. The Android device’s system then broadcasts the message sent from the C2DM servers to the application via Intent broadcast1, checking for the proper permissions so that only the intended target application receives the message. This step “wakes up” the application, meaning the application does not need to be running in order to receive a message. 5. Finally, the application processes the message. C2DM does not specify how the message should be processed; rather, this decision is left to the third party service. This gives the application full freedom as to how the message should be processed, whether it is posting a notification, updating/synchronizing data in the background, or even displaying a custom user interface. Architecture This section looks in detail at the structure of how the C2DM service works with the application and the third party service. There are three primary steps in this structure: setting up a connection with and enabling C2DM, sending a message, and receiving a message. Figure 2 illustrates a more in-depth look at C2DM’s architecture that expands on Figure 1. 1 Intent broadcasting is Android’s method for sending and receiving information between application states within a single app or between multiple applications. Intent broadcast uses key-value pairs to pass along information, essentially acting as a local communication system on the device. See http://developer.android.com/guide/ for more information. 3 SOFTWARE ARCHITECTURES Figure 2. Lower level architectural view. (Provided by Basavraj) C2DM Registration A third party service that wishes to use C2DM servers must first signup using a unique package name or app ID to define their application, as well as an email address that is responsible for this application. This is a relatively quick process for an application, and is only required once per application. The next step is registration. A registration intent is fired off from the application to the C2DM server upon its first use. This intent (com.google.android.c2dm.intent.REGISTER) contains information like the aforementioned app ID and email that the C2DM server will use to register the application. Upon a successful registration, the C2DM server broadcasts a registration intent that supplies that application with its own registration ID. The application must then send its registration ID to the third party service, which is then stored in the service’s database. This ID will be used to facilitate communication between the application and its service; the ID lasts until the application unregisters itself if it wishes to stop receiving messages from the C2DM server (in which case a notification will be returned to the application to alert the user of this event) or if Google refreshes the ID registration for the application. Sending a Message For a third party service to send a message, it must first have a ClientLogin authorization token. This token “authorizes the application server to send messages to a particular Android application” (see Google documentation). While an application may have multiple registration IDs for each device/user that connects to the servers, only one authorization token is required for the app. The third party server then sends an HTTP Post request to Google’s servers, passing along the registration ID and the authorization token. There are a few more credentials that are passed along in the request: the payload data, a collapse key, and an optional parameter called delay_while_idle. The payload is a key-value pair that contains the message(s) being passed to the application. There is no limit to the number of key-value pairs that are allowed; however, there is a limit to message size (1024 bytes). The collapse key is a string that aggregates or collapses similar messages into a group that collect in the server if the target device is offline at the time the message was sent. This prevents too many messages from being sent to the device once it comes online by only sending the last message—it should be noted that the order of messages is not guaranteed, so the last message sent to the application may not be the last one that was stored in the queue. The delay_while_idle does exactly what its namesake implies—this tells the service whether to delay sending a message to the target device if the device is idle at the time. Once the device becomes active, the last message from each collapse key will then be sent. 4 SOFTWARE ARCHITECTURES The C2DM service then verifies the credentials of the request through its authentication service, queues the message for delivery, sends the message to the target device, and finally removes the message from its queue after a successful delivery. Receiving a Message Once the message has been received, the device’s system then extracts the key-value pairs from the payload and passes this data on to the application by broadcasting a receive intent. Finally, the data from each key is extracted by the application and processed. Since C2DM merely facilitates the exchange of information between an application and its server and does not worry about how to display the messages, personalization of display is left up to the discretion of the application.
Recommended publications
  • Boot’ for Computer Best of Outstanding Technology
    Session 2013-2014 ‘Boot’ For Computer Best of Outstanding Technology Department of Computer Science & Engineering Institute of Engineering and Science IPS Academy, Indore 2013-2014 CONTENTS Part A S. List of Titles Page No. No. Programme Education Objectives (PEO)/ Programme 1. I Outcomes (PO) 2. Departmental Information III 3. Vision & Mission of the Department IV 4. Department Faculty Details V 5. Department Event VIII Membership of Professional Societies/ Sports News/ 6. IX Placements 7. Faculty Members Achievements X 8. Students Achievements XII Part B S. No. Topic Page No. 1. Gesture Recognition, Voice Command& Holography 1 Technology 2. First Step To Android Application Development 3 3. Nanotechnology 5 4. Coronal mass ejection 8 5. Big Data Analytics & SAS: An Overview 11 6. Era of Smartphone’s 14 7. Edward Snowden: how the spy story of the age leaked out 18 8. Free Amazon Web Services -and How to Make the Most of 22 them 9. Hacking the Internet - bringing down infrastructure 26 10. Holographic screen 30 11. Review of Energy Awareness in TORA Protocol 32 12. Affective computing and its applications in the apparel retail 33 industry 13. OLED Display Technology 34 14. Continuous Speech Recognition System in Hindi 36 15. OpenStack : Open Source Cloud 37 16. Viruses are Good Thing 40 17. Google Cloud Messaging 42 18. Network Simulater-2 43 19. Intelligent vehicular ad hoc networks (InVANETs) 45 20. Software as a Service (SaaS) 47 21. Infrastructure as a Service (IaaS) 48 22. Advanced Data Recovery 49 Principal Message Technical Education is the most potential instrument for socio-economic change.
    [Show full text]
  • Google Cloud Messaging (GCM) I
    International Journal of Innovative and Emerging Research in Engineering Volume 3, Issue 2, 2016 Available online at www.ijiere.com International Journal of Innovative and Emerging Research in Engineering e-ISSN: 2394 – 3343 p-ISSN: 2394 – 5494 Google Cloud Messaging (GCM) I. Miss. Sana Ismail Khan, II.Prof. Y. S. Patil I. Third Year of Engineering, Student, II. Asstt. Professor. I, II Department of Computer Science & Engineering, Hindi Seva Mandal’s, Shri Sant Gadge Baba College of Engineering & Technology, Bhusawal - 425203, Dist. – Jalgaon, Maharashtra, India ABSTRACT: Today Android is widely used operating system for smart phones; it is used as personal computer also. It contains a touch screen user interface, camera and network monitoring. The entire feature provides ability to cell phone to become a Smartphone. Basically, most of chat application allow user to send instant messages and provide a way to sharing image files also. The main purpose of this paper is to proposed a methodology to provide instant messaging over Google Cloud Messaging (GCM) and also we presents a survey on timing performance of GCM, our findings that the message delivery is uncertain , it does not guarantee to timely message arrival. Therefore is not applicable for time sensitive, but it may be good for application scenarios where random multicasting is sufficient. Keywords: Instant messaging, GCM, Timing performance of GCM I. INTRODUCTION A. Instant messaging: The instant messaging application allows users to register to the system in order to use the application. After users has log in into the system, then the user can add another registered users to be their friends.
    [Show full text]
  • How Secure Is Textsecure?
    How Secure is TextSecure? Tilman Frosch∗y, Christian Mainkay, Christoph Badery, Florian Bergsmay,Jorg¨ Schwenky, Thorsten Holzy ∗G DATA Advanced Analytics GmbH firstname.lastname @gdata.de f g yHorst Gortz¨ Institute for IT-Security Ruhr University Bochum firstname.lastname @rub.de f g Abstract—Instant Messaging has gained popularity by users without providing any kind of authentication. Today, many for both private and business communication as low-cost clients implement only client-to-server encryption via TLS, short message replacement on mobile devices. However, until although security mechanisms like Off the Record (OTR) recently, most mobile messaging apps did not protect confi- communication [3] or SCIMP [4] providing end-to-end con- dentiality or integrity of the messages. fidentiality and integrity are available. Press releases about mass surveillance performed by intelli- With the advent of smartphones, low-cost short-message gence services such as NSA and GCHQ motivated many people alternatives that use the data channel to communicate, to use alternative messaging solutions to preserve the security gained popularity. However, in the context of mobile ap- and privacy of their communication on the Internet. Initially plications, the assumption of classical instant messaging, fueled by Facebook’s acquisition of the hugely popular mobile for instance, that both parties are online at the time the messaging app WHATSAPP, alternatives claiming to provide conversation takes place, is no longer necessarily valid. secure communication experienced a significant increase of new Instead, the mobile context requires solutions that allow for users. asynchronous communication, where a party may be offline A messaging app that claims to provide secure instant for a prolonged time.
    [Show full text]
  • Com Google Android Gcm Server Message Example
    Com Google Android Gcm Server Message Example Bistred Rajeev kindled his preference spirit stepwise. If starrier or azoic Seamus usually bad his feds gleek nowhence or exsiccating broadcast and also, how ungroomed is Hilbert? Hari breakwaters fatidically? Channel mobile app is four collapse keys at this is a notification using verse for receiving this is only be useful service will remind us. App needs to the next layout is received information on your experience: the messages you plan to your data to. Solution for gcm servers and obtain the. Next step is not reference the message trough the prevention of incoming as well as well as a million devices get receipt. What happens to be generated backend on mobile no longer needs to be logged in the api key to. Administrators can download this example, wenn sie den unten stehenden link above. Domino server that our newsletter and annoy people. Thanks for future delivery, it is offline mode, or pc using their device language, both payloads will connect to gcm? You create a client app server? Here i used in your app from the push device token multiple parties internally implement code examples of this key. Run the android application servers to set, this demo project number is using the file according to the same thing you now that. You help would like to your settings of third party service across quantum engagement server; back a network verbatim to send this event fires when a centralized mobile. The messages using google servers and handling incoming push messaging solution to the malware on gcm for a dummy echo server will be good thanks.
    [Show full text]
  • Android: Cómo Salirse De Las Garras De Google Y Porqué
    Android: Cómo salirse de las garras de Google y porqué Liber Da Silva 31 años; Desarrollador de software Independiente -pero de Racing-; Asesor en privacidad y contraespionaje; Escepticista crónico; Ignóstico; Zurdo no ortodoxo; Vegetariano no practicante. Mail: [email protected] Web: https://ldasilva.net Google “Don’t be evil” Android Android ● Inicialmente fue desarrollado por Android Inc., adquirida en 2005 por Google. ● Presentado en 2007. ● Sistema operativo móvil más utilizado del mundo, con una cuota de mercado superior al 80 % al año 2017. ● Software Libre: Android Open Source Project (AOSP). ¿Libre? Google Apps (gapps) ● Android Auto ● Google Maps ● Google Translate ● Android System WebView ● Google Messages ● Google VR Services ● Cloud Print ● Google News ● Google Wallpapers ● Device Health Services ● Google Pixel Launcher ● Pixel Icons ● Gmail ● Google Package Installer ● YouTube ● Google Accessibility Suite (TalkBack) ● Google Pay ● Google App (Search) ● Google Phone ● Google Calculator ● Google Photos ● Google Calendar ● Google Play Books ● Google Play Store ● Google Camera ● Google Play Games ● Google Play Services: Google ● Google Chrome ● Google Play Movies & TV Maps Android API - Network ● Google Clock ● Google Play Music Location Provider - Google ● Google Contacts ● Google Play Services Cloud Messaging ● Google Drive ● Google Print Service ● Google Duo ● Google Storage Manager ● Google Keep Notes ● Google Tags (NFC) ● Google Keyboard ● Google Text-to-Speech ● “Es gratis” ○ El producto sos vos ● “El servicio es bueno” ○ Nadie lo duda ● “Yo no tengo nada que ocultar” ○ Manipulación ○ Espionaje ¿Como salir? microG MicroG es un sustituto libre para las gapps teniendo en cuenta la dependencia que tiene Android de Google. Proporciona un mayor control sobre tu privacidad y sin ser tan agresivo con la batería / RAM de tu teléfono.
    [Show full text]
  • Comparative Analysis of Several Real-Time Systems for Tracking People And/Or Moving Objects Using GPS
    ICT Innovations 2015 Web Proceedings ISSN 1857-7288 Comparative Analysis of Several Real-Time Systems for Tracking People and/or Moving Objects using GPS Gligorcho Radinski and Aleksandra Mileva University “Goce Delčev”, Faculty of Computer Science “Krste Misirkov” bb, Štip, Republic of Macedonia {gligorco.21044,aleksandra.mileva}@ugd.edu.mk Abstract. When we talk about real-time systems for tracking people and/or mov- ing objects using a Global Positioning System (GPS), there are several categories of such systems and the ways in which they work. Some uses additional hardware to extend the functionality of the offered opportunities, some are free, some are too complex and cost too much money. This paper aims to provide a clearer pic- ture of several such systems and to show results from a comparative analysis of some popular systems for tracking people and moving objects that use the GPS, like Navixy, Frotcom GPS Vehicle Tracking & Fleet Management System, Fol- lowMee GPS Tracker, Open GPS Tracking System and our system RadinTech- nology GPS Tracking System. Keywords: Navixy, Frotcom, FollowMee GPS Tracker, Open GPS Tracking System, Radian Technology 1 Introduction Recent years, we are witnesses of popularization and versatile applications of GPS tech- nologies. Applications range from military, national security and justice system till per- sonal safety and comfort. For example, the criminal justice system in many countries uses GPS based mobile tracking devices in the form of an ankle bracelet, that specific types of offenders are sometimes required to wear [1]; many fleet operators can monitor the driving behavior of employees, parents can monitor their teen drivers [2, 3, 4, 5];there are special systems for tracking people and their body parts [7], for tracking moving objects in surveillance system [8], even stalking [6], etc.
    [Show full text]
  • International Research Location Tracking Using Google C
    International Journal of Trend in Scientific Research and Development (IJTSRD) International Open Access Journal ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume - 2 | Issue – 3 Location tracking using Google Cloud Messaging on Android G. Sunderesh Kumar, M. Gokulnath, S. Priya Department of Information Technology, G.K.M. College of Engineering and Technology, Chennai, Tamil Nadu, India ABSTRACT Everyone in this world needed to know where is the especially designs for parents to monitor their family member and the most common way is ―Make children’s on the move. Consider a situation where a A Call To Each One ―Is this a feasible way of doing child lost a way to home or he or she meet with an ? What if someone is busy, or driving a vehicle, or accident in that case child use their tracker app to send he/she not able to take that call right now, so in that alert notification to parents and the web application case what will you do drop a message (WhatsAPP) is display it. The web application is design to handle this what you thinking about then again think about it. various types of alert that broadcast from android app. You call a person he/she not taking your call then you We investigate the following fundamental question - drop a message to theme again ―NO REPLY ―but how fast can we track a family member? And the you desperately want to know his/her current location answer that we got is by calling him but this is not a and you again and again call him or message but feasible or reliable solution.
    [Show full text]
  • Studi Kasus Expo Sinode
    1. Pendahuluan Sinode GKJ Indonesia memiliki suatu kegiatan yang diadakan secara berkala dalam bentuk pameran yang disebut Expo Sinode GKJ. Kegiatan tersebut merupakan suatu wahana untuk memperkenalkan karya dan potensi GKJ sehingga bisa diketahui oleh banyak pihak sehingga diharapkan bisa menghasilkan kerjasama pengembangan karya dan potensi yang ada. Kegiatan tersebut terdiri dari berbagai macam acara diantaranya ibadah syukur yang diikuti oleh jemaat (massal), pameran (Expo) yang menampilkan karya dan potensi Gereja, Klasis dan lembaga serta pagelaran festival seni [1]. Selama ini informasi seputar kegiatan tersebut dipublikasikan melalui menerbitkan berita-berita untuk konsumsi internal, membuat blog khusus, publikasi kegiatan-kegiatan yang perlu diketahui oleh masyarakat luas melalui Sosial Media (Facebook, Website, Majalah, Brosur, Leaflet, Baliho), serta sosialisasi ke Klasis dan Gereja-gereja. Beberapa sarana yang digunakan untuk mempublikasikan kegiatan tersebut membutuhkan biaya yang tidak sedikit serta dirasa belum memberikan dampak yang cukup signifikan untuk menggaet perhatian masyarakat lebih luas. Selain itu produk yang dipasarkan hanya dapat diketahui masyarakat dengan datang langsung pada kegiatan tersebut atau melalui publikasi di media cetak atau internet yang dilakukan oleh anggota kegiatan tersebut secara mandiri. Proses transaksi bisnis yang terjadi pada proses jual beli dalam kegiatan tersebut dilakukan secara manual yaitu dengan cara pembeli menghubungi pihak yang bersangkutan terlebih dahulu kemudian melakukan
    [Show full text]
  • Android (Operating System) 1 Android (Operating System)
    Android (operating system) 1 Android (operating system) Android Home screen displayed by Samsung Galaxy Nexus, running Android 4.1 "Jelly Bean" Company / developer Google, Open Handset Alliance, Android Open Source Project [1] Programmed in C, C++, python, Java OS family Linux Working state Current [2] Source model Open source Initial release September 20, 2008 [3] [4] Latest stable release 4.1.1 Jelly Bean / July 10, 2012 Package manager Google Play / APK [5] [6] Supported platforms ARM, MIPS, x86 Kernel type Monolithic (modified Linux kernel) Default user interface Graphical License Apache License 2.0 [7] Linux kernel patches under GNU GPL v2 [8] Official website www.android.com Android is a Linux-based operating system for mobile devices such as smartphones and tablet computers. It is developed by the Open Handset Alliance, led by Google.[2] Google financially backed the initial developer of the software, Android Inc., and later purchased it in 2005.[9] The unveiling of the Android distribution in 2007 was announced with the founding of the Open Handset Alliance, a consortium of 86 hardware, software, and telecommunication companies devoted to advancing open standards for mobile devices.[10] Google releases the Android code as open-source, under the Apache License.[11] The Android Open Source Project (AOSP) is tasked with the maintenance and further development of Android.[12] Android (operating system) 2 Android has a large community of developers writing applications ("apps") that extend the functionality of the devices. Developers write primarily in a customized version of Java.[13] Apps can be downloaded from third-party sites or through online stores such as Google Play (formerly Android Market), the app store run by Google.
    [Show full text]
  • Every Cloud Has a Push Data Lining: Incorporating Cloud Services in a Context-Aware Application
    Hindawi Publishing Corporation Mobile Information Systems Volume 2015, Article ID 278713, 10 pages http://dx.doi.org/10.1155/2015/278713 Research Article Every Cloud Has a Push Data Lining: Incorporating Cloud Services in a Context-Aware Application Tor-Morten Grønli,1 Jarle Hansen,2 Gheorghita Ghinea,1,3 and Muhammad Younas4 1 Westerdals Oslo School of Arts, Communication and Technology, Faculty of Technology, Oslo, Norway 2Department of Computer Science and Information, Brunel University London, Uxbridge, UK 3Brunel University, Uxbridge, UK 4Oxford Brookes University, Oxford, UK Correspondence should be addressed to Gheorghita Ghinea; [email protected] Received 13 June 2013; Accepted 22 October 2013 Academic Editor: David Taniar Copyright © 2015 Tor-Morten Grønli et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. We investigated context-awareness by utilising multiple sources of context in a mobile device setting. In our experiment we developed a system consisting of a mobile client, running on the Android platform, integrated with a cloud-based service. These components were integrated using push messaging technology. One of the key features was the automatic adaptation of smartphones in accordance with implicit user needs. The novelty of our approach consists in the use of multiple sources of context input to the system, which included the use of calendar data and web based user configuration tool, as well as that of an external, cloud-based, configuration file storing user interface preferences which, pushed at log-on time irrespective of access device, frees the userfrom having to manually configure its interface.
    [Show full text]
  • Microg for Ogyt Apk 2020
    Microg for ogyt apk 2020 Continue OG YouTube requires a microG app for OGYT. The app has been updated to the version because it fixes updates and bugs it gets to keep up. If you run the app, it will display the message. microG is a great program. It has features such as the default setting you asked for. Enjoy the YouTube playlist on your mobile phone and like a downloaded movie. There are features if you are interested in this micro-section of search to get OG YouTube by following these steps, well. OG YouTube is an excellent app as an alternative to the program. It has many features such as the ability to download movies and play on a mobile phone. In addition, it removes the sound from the video and customers can download music or no audio video. How to install it? First, check to see if your unknown source is on. Follow this step, if the unknown font is not included, skip this step if included. Just go to your phone settings and turn on an unknown source. Now you need to download microG for the OGYT apk file from our website. After downloading, find and find the file. Open the downloaded file and click the installation button. Oh, that's it and enjoy microG without any problems. Tech Information Download microG apps for OGYT YouTube has a new app for downloading and playing videos, namely OGYT. It is not yet available in Google Play, so you need to download microG for OGYT, an app that allows it to work properly on your device.
    [Show full text]
  • Google Cloud Messaging for Android Apps
    Google Cloud Messaging for Android Apps Source : http://www.mobileapptelligence.com Cloud computing is mainly storing and accessing data in the Internet instead of the hard disk of your computer. With an online connection, cloud computing can be done anywhere. Google Cloud Dataflow, the successor to the much acclaimed MapReduce service, is a managed service that enables the android developers to create data pipelines that analyze data in both batch and streaming modes. MapReduce was processing the massive data sets using distributed computing. But now MapReduce stands outdated. Google has introduced cloud dataflow which will give you actionable insights from your data. There are no problems regarding deploying, maintaining or scaling infrastructure. Google cloud monitoring system will assist you to discover and fix strange behaviour of your application stacks. Constant error showing in app engine module and sluggish query times from cassandra database with minimal configuration, will be solved by Cloud Monitoring. Google Cloud Messaging (GCM) was a replacement for Cloud to Device Messaging (C2DM). With GCM, app developers can develop their mobile apps on devices and web browsers and can get easy communication whatever be the location or kind of network. With this android platform API, sending and receiving push notifications are possible. Thus GCM is a boon to every android app developer. Server application for google cloud messaging can be written in both Java and PHP. GCM is a lone file application in PHP. You can put it in Apache. GCM android app prerequisites are google play services in SDK, Google APIs, Google Play Services Lib project as Android dependency, Google Project ID and Register/login with a Google account in the AVD.
    [Show full text]