in Education by
I am trying to develop a message app within my android app. The message will be like whatsapp and beluga. I googled it and found C2DM Android 2.2 can send the push notifications to the device. However, this is not available on Android 2.1. Anyone knows how whatsapp send the notifications for 2.1 devices? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
For Android: Whatsapp is build upon C2DM and when the app opens it opens an XMPP connection to their service to deliver the messages instantly. They also might use MQTT as a protocol to minimize battery usage. That's basically it. Edit: I learned more, Facebook uses MQTT in their messaging app. Whatsapp is build upon XMPP with their own extensions. Their server side runs on top of ejabbard (XMPP implementation in erlang). http://www.ejabberd.im/ On pre 2.1 devices WhatsApp probably keeps a connection open to their XMPP servers in the background but this is not really good for battery life.

Related questions

0 votes
    My code for download files and save them in the internal storage is: val downloadManager = context!!. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    I'm working through my AI textbook I got and I've come to the last homework problem for my section: "Implement the ... in C# or Java? Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    How is Kafka messaging system different than other messaging frameworks?...
asked Nov 5, 2020 in Technology by JackTerrance
0 votes
    we're have a client that needs to get interactive messages from a server, from clients that are distributed ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    Kafka also provides better ordering guarantees than a traditional messaging system using ________. (1)Streams API (2)counters (3)round robin (4)topic partitions....
asked Jun 16, 2021 in Technology by JackTerrance
0 votes
    Which one functions as a messaging system? (1)Solr (2)Cassandra (3)Kafka (4)Oozie...
asked Jun 16, 2021 in Technology by JackTerrance
0 votes
    I have an android class which is encoding and decoding my text using a key but I want to create ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    2. A………… is a Panda data structure that represents a 2 D array like object (1 Point) Series DataFrame dictionary Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Anyone got this problem before? In Windows 7 x86, I created an avd which the target is Android 2. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    I want to connect android to my nao , it is version V4 or 1.14.5 and I do not find library ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 22, 2022 in Education by JackTerrance
0 votes
    How can you implement a recommendation system for a company’s users?...
asked Mar 11, 2021 in Technology by JackTerrance
0 votes
    Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 10, 2022 in Education by JackTerrance
0 votes
    Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    Which of the following is required to implement a literate programming system? (a) A programming language like ... and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following is required to implement a literate programming system? (a) A programming language like ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
...