SlideShare uma empresa Scribd logo
1 de 22
Cloud to
Device Messaging
                 Pathway and the trend




  By – Mr.Prajyot Mainkar ( @prajyotm)
      C.E.O, SPM Softwares & Designers
SO WHAT’s IN PLATE
KEY TOPICS
                Topics                   Time Duration
             Introduction                   5 mins
 Cloud to Device Messaging - Breaking       10 mins
                the Ice
    Building Mobile Apps on Cloud           5 mins
        Challenges in M-Clouds              5 mins
 Emerging Trends : NFC v/s Cloud Based      10 mins
           Mobile Payments
    Case study : Cloud Automation           10mins
             Engagement
DATA ACCESS METHODS
LETS DISCUSS
1. Some apps Provide Seamless Access to data in cloud

          Mobile Messages or Mobile Alerts
          Messages Sent to Phone
          Background Threads/ Sync
How To Keep the Data on
Your Device,Fresh?
POLLING
Key Points
1. Simple to Implement
2. Device Periodically Asks Server For New Data
3. Used widely where the content changes constantly


                   Any New Updates?
                         No
                    Any New Updates?    Publisher/Centr
                         No               al Server
                   Any New Updates?
                        Yes
     Smartphone
But….
 Polling Every 5mins can
   consume 10% of your
          Battery
And…
     Nobody Likes Apps
     That Drain Battery
Pushing
Minimizing pain of Regular Updates
Push Technology or Server Push Defines type of internet
based communication where request for transaction is
initiated by publisher/server
1. Constant Connection
2. Less Battery Consumption
3. Harder to implement



                              Data        Publisher/Centr
                                            al Server



       Smartphone
INTRODUCTION TO C2DM
Breaking the ice
Android Cloud to Device Messaging (C2DM) is a service that
helps developers send data from servers to their applications on
 Android devices.
•Uses Simple Google API and Supports Android 2.2 onwards
•Uses Existing Connections for Google Services
•Allows to send lightweight data messages to apps initiating notice of new data
availability
•C2DM makes no guarantee of delivery or the order of messages
•Application need not be running to receive messages.
•No building UI for handling messages data

       https://developers.google.com/android/c2dm/signup
THE C2DM Logical Flow
                                                                                                Google Cloud

                                                          t
                                                                                                                                   Web Browser
                                                        en                                        9.Remove From the queue
                                           e   to
                                                    cli       C2DM Messaging
                                        ag
                                em
                                  es
                                    s
                                                                  Server
                             th
                     ev
                  eli pp
                        er
                                                                                                                 JavaScript
                                                                                                                     ssa
                                                                                                                         ge
                                                                                                                                                C2DM
               8.D a                                               7.Route the delivery
                                                                                                                     e   me
                                                                                                                e th
                                                                                                      6 .Q
                                                                                                          ueu                               Messaging Queue
              1. Register with email to get
              the per device registration ID
                                                              C2DM Interface                                                           Client Authentication
                                                                                             5.Authenticate The Request                       Service
                                                                                                                                                                   ss
                                                                                                                                                                dre
                                                                                                                                                          il ad
                                                                                                                                                        ma en
                                                                  4.Post message to the device with                                                 th e Tok
                                                                                                                                               t wi
                                                                  Registration ID and Token                                                 ues s Auth
                                                                                                                                         req ate
                                                                                                                                    tion    er
                                                                                                                              n tica . Gen
                                                                                                                        au the word
                                                                                                                               s
                                                                                                                     end pas
2.Send Registration ID to server                                                                                  3.S And




                                                       Client Authentication
                                                              Service
PEEKING UNDER THE HOOD
Cautious Points
Feature                 Feature Description
   Background Service   Honor Background settings, start when network is available
          Heartbeats    Maintain persistent connection with server - Use Heartbeats
                                        to detect dead connections
      Collapse Keys         Latest messages replace the old ones with same key
           Efficiency   Minimize Heartbeat frequency, concurrent connection and
                                        per connect over head
          Attenuation     Messages may not be delivered to app immediately, so
                                    avoid constant radio wake up
     Delay While Idle         Device tells app server when the screen is off.
                                         Screen off == Device Idle
                          Avoid Wake up of the device with unnecessary updates
SO WHAT’s THE FLAW?
Hmm…Lets Discuss
•Message Size : The message size limit is 1024 bytes.

•Message Limit : Google limits the number of messages a sender sends in aggregate,
and the number of messages a sender sends to a specific device
HANDLING QUOTE LIMIT
A registration..and that’s all
You can’t do much about the Message Size, but of the quote,
                 Yes! There is a Remedy
If your application needs to send a large number of C2DM Messages than the default 200,000 Messages Per
Day, Then answer the following

Are you using C2DM for payload?
C2DM is meant as a means to notify your application that there are messages available for it. You should
Not carry your data payload through C2DM.

Are you sending C2DM messages too frequently?
If you need to communicate with your application frequently over a short period of time, C2DM is probably not
the best solution.


           https://developers.google.com/android/c2dm/quotas
BUILDING CLOUD APPS
HEADSTARTER IN M-CLOUD
         CLOUD DEVELOPERS
         Cloud Developers Issue cloud development
         techniques to trigger cloud based apps.




         CLOUD ADMIN
          If you administer cloud servers or services, you
          don't need access to a notebook or desktop PC
          to perform routine administrative tasks.




         CLOUD END USERS
          The end users using the cloud apps.
CLOUD - DEVELOPERS
TUNING SDK’s



 The AWS SDK for Android provides a library, code samples, and documentation for
 developers to build connected mobile applications using Amazon Web Services.
 2.A media application that uploads photos, videos, and more to Amazon Simple Storage
 Service (Amazon S3) for world-wide distribution through Amazon CloudFront.
 3.A social game that shares moves, high scores, and other data between devices using
 Amazon SimpleDB.
 4.A messaging client that broadcasts messages between devices using Amazon Simple
 Queue Service (Amazon SQS) and Amazon Simple Notifications Service (Amazon SNS),
 without requiring any additional server infrastructure



                    http://aws.amazon.com/sdkforandroid/
CLOUD - DEVELOPERS
TUNING SDK’s




      https://github.com/microsoft-dpe/wa-toolkit-android
   https://github.com/microsoft-dpe/wa-toolkit-cloudreadypackages
CLOUD ADMIN
TUNING ADMIN PANEL




AWS Console is a free Android app that provides a simple administrative interface to the following Amazon
Web Services: Elastic Cloud Computer (EC2), Simple Storage Service (S3), Simple Notification Service
(SNS), Relational Database Services (RDS), Route 53 (Amazon's Domain Name System Web service), and
CloudFront (Amazon's Web-hosting service).It's primarily designed for tablets running Honeycomb or Ice
Cream Sandwich, but it also works on Android phones.
ARE YOU CLOUD READY?
DEMYSTIFYING M-CLOUD
  SECURITY CONCERNS                                                               INTEROPERATIBILITY
  Since enterprises deal with sensitive data,                                     Enterprises which allow the BYOD
  security is of paramount importance                                             policy typically need to deal with
                                                                                  interoperability challenges.



  COLLABORATION                                                                   INTEGRITY
  Irrespective of whether it’s private, public or                                 Enterprise users typically need to sync
  hybrid, a cloud-based offering facilitates                                      their devices with the cloud to maintain
  collaboration among the key stakeholders.                                       data integrity.



                                        ACCESS
                                        Enterprise can add a security shield to public
                                        and hybrid networks using firewalls and
                                        VPNs, providing access across complex cloud
EMERGING TRENDS
NFC V/s CLOUD BASED PAYMENTS
         Museum Of London [ video]
Can “V/s” be replaced by
        “AND”?
NFC CLOUD BASED PAYMENTS
By PayBOX NFC
EMERGING TRENDS
NFC V/s CLOUD BASED PAYMENTS
         Paybox NFC[Video]
CASE STUDY
CLOUD AUTOMATION ENGADEMENT

         Self-Service Interface




                                     Lifecycle Management
     Service Delivery Automation

    Operational Process Automation

        Resource Management
GET IN TOUCH
CONTACT US                        Address:
                                  SPM Softwares & Designers
f   facebook.com/prajyotmainkar
                                  Zarina Towers,St.Inez,Panaji Goa

t   twitter.com/prajyotm
                                  Phone:
                                  +91-9822987513
     linkedin.com/in/prajyotm
                                  Email:
                                  prajyotm@msn.com

Mais conteúdo relacionado

Destaque

A friend in need - A JS indeed
A friend in need - A JS indeedA friend in need - A JS indeed
A friend in need - A JS indeedYonatan Levin
 
Android Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youAndroid Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youPrajyot Mainkar
 
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016Fakhrudin Sujarwo
 
Proposal danau bunga tujuh
Proposal danau bunga tujuhProposal danau bunga tujuh
Proposal danau bunga tujuhbumd
 
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah Daerah
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah DaerahPenyusunan Rencana Pembangunan Jangka Panjang dan Menengah Daerah
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah DaerahDadang Solihin
 
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life Indonesia
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life IndonesiaTraining Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life Indonesia
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life IndonesiaSquirto
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgetsPrajyot Mainkar
 
Peranan DPRD dalam Percepatan Pembangunan Daerah
Peranan DPRD dalam Percepatan Pembangunan DaerahPeranan DPRD dalam Percepatan Pembangunan Daerah
Peranan DPRD dalam Percepatan Pembangunan DaerahDadang Solihin
 
Kpk gerakan-nasional-penyelamatan-sda
Kpk gerakan-nasional-penyelamatan-sdaKpk gerakan-nasional-penyelamatan-sda
Kpk gerakan-nasional-penyelamatan-sdaAksi SETAPAK
 
6 Easy Steps to writing that perfect Job Description (JD)
6 Easy Steps to writing that perfect Job Description (JD)6 Easy Steps to writing that perfect Job Description (JD)
6 Easy Steps to writing that perfect Job Description (JD)Alok Rodinhood Kejriwal
 

Destaque (15)

A friend in need - A JS indeed
A friend in need - A JS indeedA friend in need - A JS indeed
A friend in need - A JS indeed
 
Android Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youAndroid Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with you
 
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016
Soal PAS Sosiologi Kelas 10 Peminatan & Kunci Jawaban (K-13) 2016
 
Proposal danau bunga tujuh
Proposal danau bunga tujuhProposal danau bunga tujuh
Proposal danau bunga tujuh
 
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah Daerah
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah DaerahPenyusunan Rencana Pembangunan Jangka Panjang dan Menengah Daerah
Penyusunan Rencana Pembangunan Jangka Panjang dan Menengah Daerah
 
Pk pertemuan 2
Pk pertemuan 2Pk pertemuan 2
Pk pertemuan 2
 
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life Indonesia
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life IndonesiaTraining Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life Indonesia
Training Pengusaha Muda 1 - Pengenalan Dunia Usaha - Isra'life Indonesia
 
Marshall
MarshallMarshall
Marshall
 
Ppt 4 kwu
Ppt 4 kwuPpt 4 kwu
Ppt 4 kwu
 
Perbankan syariah
Perbankan syariahPerbankan syariah
Perbankan syariah
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgets
 
Peranan DPRD dalam Percepatan Pembangunan Daerah
Peranan DPRD dalam Percepatan Pembangunan DaerahPeranan DPRD dalam Percepatan Pembangunan Daerah
Peranan DPRD dalam Percepatan Pembangunan Daerah
 
Kpk gerakan-nasional-penyelamatan-sda
Kpk gerakan-nasional-penyelamatan-sdaKpk gerakan-nasional-penyelamatan-sda
Kpk gerakan-nasional-penyelamatan-sda
 
Pengantar perbankan-syariah
Pengantar perbankan-syariahPengantar perbankan-syariah
Pengantar perbankan-syariah
 
6 Easy Steps to writing that perfect Job Description (JD)
6 Easy Steps to writing that perfect Job Description (JD)6 Easy Steps to writing that perfect Job Description (JD)
6 Easy Steps to writing that perfect Job Description (JD)
 

Semelhante a Android Cloud to Device Messaging Framework

Cloud Foundry Architecture and Overview
Cloud Foundry Architecture and OverviewCloud Foundry Architecture and Overview
Cloud Foundry Architecture and Overviewrajdeep
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionAndy Piper
 
Transecq ITA
Transecq ITATransecq ITA
Transecq ITAtransecq
 
Badrinath Ramamurthy Cloud Infrastructure
Badrinath Ramamurthy   Cloud InfrastructureBadrinath Ramamurthy   Cloud Infrastructure
Badrinath Ramamurthy Cloud InfrastructureACMBangalore
 
Viii Forum Tlc Federico Protto Presentazione
Viii Forum Tlc Federico Protto PresentazioneViii Forum Tlc Federico Protto Presentazione
Viii Forum Tlc Federico Protto Presentazioneguestd1ae161
 
Microsoft NetMeeting and Windows XP Video Conferencing vs
Microsoft NetMeeting and Windows XP Video Conferencing vsMicrosoft NetMeeting and Windows XP Video Conferencing vs
Microsoft NetMeeting and Windows XP Video Conferencing vsVideoguy
 
Bc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suiteBc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suitesmumbahelp
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundrymartinlippert
 
Iisrt sinthuja mepco (ec)
Iisrt sinthuja mepco (ec)Iisrt sinthuja mepco (ec)
Iisrt sinthuja mepco (ec)IISRT
 
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...IRJET Journal
 
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...IRJET Journal
 
Winds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudWinds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudMunisekhar Gunapati
 
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud FoundryThinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud FoundryJennifer Hickey
 
Cloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentationCloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentationXianzhu Yue
 

Semelhante a Android Cloud to Device Messaging Framework (20)

Cloud Foundry Architecture and Overview
Cloud Foundry Architecture and OverviewCloud Foundry Architecture and Overview
Cloud Foundry Architecture and Overview
 
Gu3112991305
Gu3112991305Gu3112991305
Gu3112991305
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning Introduction
 
Transecq ITA
Transecq ITATransecq ITA
Transecq ITA
 
Badrinath Ramamurthy Cloud Infrastructure
Badrinath Ramamurthy   Cloud InfrastructureBadrinath Ramamurthy   Cloud Infrastructure
Badrinath Ramamurthy Cloud Infrastructure
 
Eecs 2013-18
Eecs 2013-18Eecs 2013-18
Eecs 2013-18
 
Socket programming
Socket programmingSocket programming
Socket programming
 
Viii Forum Tlc Federico Protto Presentazione
Viii Forum Tlc Federico Protto PresentazioneViii Forum Tlc Federico Protto Presentazione
Viii Forum Tlc Federico Protto Presentazione
 
Iw2415551560
Iw2415551560Iw2415551560
Iw2415551560
 
Microsoft NetMeeting and Windows XP Video Conferencing vs
Microsoft NetMeeting and Windows XP Video Conferencing vsMicrosoft NetMeeting and Windows XP Video Conferencing vs
Microsoft NetMeeting and Windows XP Video Conferencing vs
 
Bc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suiteBc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suite
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundry
 
Iisrt sinthuja mepco (ec)
Iisrt sinthuja mepco (ec)Iisrt sinthuja mepco (ec)
Iisrt sinthuja mepco (ec)
 
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
 
project presentation.pptx
project presentation.pptxproject presentation.pptx
project presentation.pptx
 
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...
IRJET- A Secure Erasure Code-Based Cloud Storage Framework with Secure Inform...
 
Winds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudWinds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloud
 
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud FoundryThinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
 
Cloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentationCloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentation
 
OSCON 2011
OSCON 2011OSCON 2011
OSCON 2011
 

Mais de Prajyot Mainkar

Kolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarKolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarPrajyot Mainkar
 
Devfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarDevfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarPrajyot Mainkar
 
Gaining the app visibility that matters
Gaining the app visibility that mattersGaining the app visibility that matters
Gaining the app visibility that mattersPrajyot Mainkar
 
Nitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportNitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportPrajyot Mainkar
 
Building Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapBuilding Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapPrajyot Mainkar
 
Evolution google-android play
Evolution google-android playEvolution google-android play
Evolution google-android playPrajyot Mainkar
 
Steps to install android
Steps to install androidSteps to install android
Steps to install androidPrajyot Mainkar
 
Android Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetAndroid Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetPrajyot Mainkar
 

Mais de Prajyot Mainkar (13)

Kolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarKolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot Mainkar
 
Devfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarDevfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkar
 
Building for next india
Building for next indiaBuilding for next india
Building for next india
 
Pitch that matters
Pitch that mattersPitch that matters
Pitch that matters
 
Android performance
Android performanceAndroid performance
Android performance
 
Gaining the app visibility that matters
Gaining the app visibility that mattersGaining the app visibility that matters
Gaining the app visibility that matters
 
DroidSync 2014
DroidSync 2014DroidSync 2014
DroidSync 2014
 
Nitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportNitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing Report
 
Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging
 
Building Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapBuilding Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGap
 
Evolution google-android play
Evolution google-android playEvolution google-android play
Evolution google-android play
 
Steps to install android
Steps to install androidSteps to install android
Steps to install android
 
Android Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetAndroid Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection Widget
 

Último

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Android Cloud to Device Messaging Framework

  • 1. Cloud to Device Messaging Pathway and the trend By – Mr.Prajyot Mainkar ( @prajyotm) C.E.O, SPM Softwares & Designers
  • 2. SO WHAT’s IN PLATE KEY TOPICS Topics Time Duration Introduction 5 mins Cloud to Device Messaging - Breaking 10 mins the Ice Building Mobile Apps on Cloud 5 mins Challenges in M-Clouds 5 mins Emerging Trends : NFC v/s Cloud Based 10 mins Mobile Payments Case study : Cloud Automation 10mins Engagement
  • 3. DATA ACCESS METHODS LETS DISCUSS 1. Some apps Provide Seamless Access to data in cloud Mobile Messages or Mobile Alerts Messages Sent to Phone Background Threads/ Sync
  • 4. How To Keep the Data on Your Device,Fresh?
  • 5. POLLING Key Points 1. Simple to Implement 2. Device Periodically Asks Server For New Data 3. Used widely where the content changes constantly Any New Updates? No Any New Updates? Publisher/Centr No al Server Any New Updates? Yes Smartphone
  • 6. But…. Polling Every 5mins can consume 10% of your Battery And… Nobody Likes Apps That Drain Battery
  • 7. Pushing Minimizing pain of Regular Updates Push Technology or Server Push Defines type of internet based communication where request for transaction is initiated by publisher/server 1. Constant Connection 2. Less Battery Consumption 3. Harder to implement Data Publisher/Centr al Server Smartphone
  • 8. INTRODUCTION TO C2DM Breaking the ice Android Cloud to Device Messaging (C2DM) is a service that helps developers send data from servers to their applications on Android devices. •Uses Simple Google API and Supports Android 2.2 onwards •Uses Existing Connections for Google Services •Allows to send lightweight data messages to apps initiating notice of new data availability •C2DM makes no guarantee of delivery or the order of messages •Application need not be running to receive messages. •No building UI for handling messages data https://developers.google.com/android/c2dm/signup
  • 9. THE C2DM Logical Flow Google Cloud t Web Browser en 9.Remove From the queue e to cli C2DM Messaging ag em es s Server th ev eli pp er JavaScript ssa ge C2DM 8.D a 7.Route the delivery e me e th 6 .Q ueu Messaging Queue 1. Register with email to get the per device registration ID C2DM Interface Client Authentication 5.Authenticate The Request Service ss dre il ad ma en 4.Post message to the device with th e Tok t wi Registration ID and Token ues s Auth req ate tion er n tica . Gen au the word s end pas 2.Send Registration ID to server 3.S And Client Authentication Service
  • 10. PEEKING UNDER THE HOOD Cautious Points Feature Feature Description Background Service Honor Background settings, start when network is available Heartbeats Maintain persistent connection with server - Use Heartbeats to detect dead connections Collapse Keys Latest messages replace the old ones with same key Efficiency Minimize Heartbeat frequency, concurrent connection and per connect over head Attenuation Messages may not be delivered to app immediately, so avoid constant radio wake up Delay While Idle Device tells app server when the screen is off. Screen off == Device Idle Avoid Wake up of the device with unnecessary updates
  • 11. SO WHAT’s THE FLAW? Hmm…Lets Discuss •Message Size : The message size limit is 1024 bytes. •Message Limit : Google limits the number of messages a sender sends in aggregate, and the number of messages a sender sends to a specific device
  • 12. HANDLING QUOTE LIMIT A registration..and that’s all You can’t do much about the Message Size, but of the quote, Yes! There is a Remedy If your application needs to send a large number of C2DM Messages than the default 200,000 Messages Per Day, Then answer the following Are you using C2DM for payload? C2DM is meant as a means to notify your application that there are messages available for it. You should Not carry your data payload through C2DM. Are you sending C2DM messages too frequently? If you need to communicate with your application frequently over a short period of time, C2DM is probably not the best solution. https://developers.google.com/android/c2dm/quotas
  • 13. BUILDING CLOUD APPS HEADSTARTER IN M-CLOUD CLOUD DEVELOPERS Cloud Developers Issue cloud development techniques to trigger cloud based apps. CLOUD ADMIN If you administer cloud servers or services, you don't need access to a notebook or desktop PC to perform routine administrative tasks. CLOUD END USERS The end users using the cloud apps.
  • 14. CLOUD - DEVELOPERS TUNING SDK’s The AWS SDK for Android provides a library, code samples, and documentation for developers to build connected mobile applications using Amazon Web Services. 2.A media application that uploads photos, videos, and more to Amazon Simple Storage Service (Amazon S3) for world-wide distribution through Amazon CloudFront. 3.A social game that shares moves, high scores, and other data between devices using Amazon SimpleDB. 4.A messaging client that broadcasts messages between devices using Amazon Simple Queue Service (Amazon SQS) and Amazon Simple Notifications Service (Amazon SNS), without requiring any additional server infrastructure http://aws.amazon.com/sdkforandroid/
  • 15. CLOUD - DEVELOPERS TUNING SDK’s https://github.com/microsoft-dpe/wa-toolkit-android https://github.com/microsoft-dpe/wa-toolkit-cloudreadypackages
  • 16. CLOUD ADMIN TUNING ADMIN PANEL AWS Console is a free Android app that provides a simple administrative interface to the following Amazon Web Services: Elastic Cloud Computer (EC2), Simple Storage Service (S3), Simple Notification Service (SNS), Relational Database Services (RDS), Route 53 (Amazon's Domain Name System Web service), and CloudFront (Amazon's Web-hosting service).It's primarily designed for tablets running Honeycomb or Ice Cream Sandwich, but it also works on Android phones.
  • 17. ARE YOU CLOUD READY? DEMYSTIFYING M-CLOUD SECURITY CONCERNS INTEROPERATIBILITY Since enterprises deal with sensitive data, Enterprises which allow the BYOD security is of paramount importance policy typically need to deal with interoperability challenges. COLLABORATION INTEGRITY Irrespective of whether it’s private, public or Enterprise users typically need to sync hybrid, a cloud-based offering facilitates their devices with the cloud to maintain collaboration among the key stakeholders. data integrity. ACCESS Enterprise can add a security shield to public and hybrid networks using firewalls and VPNs, providing access across complex cloud
  • 18. EMERGING TRENDS NFC V/s CLOUD BASED PAYMENTS Museum Of London [ video]
  • 19. Can “V/s” be replaced by “AND”? NFC CLOUD BASED PAYMENTS By PayBOX NFC
  • 20. EMERGING TRENDS NFC V/s CLOUD BASED PAYMENTS Paybox NFC[Video]
  • 21. CASE STUDY CLOUD AUTOMATION ENGADEMENT Self-Service Interface Lifecycle Management Service Delivery Automation Operational Process Automation Resource Management
  • 22. GET IN TOUCH CONTACT US Address: SPM Softwares & Designers f facebook.com/prajyotmainkar Zarina Towers,St.Inez,Panaji Goa t twitter.com/prajyotm Phone: +91-9822987513 linkedin.com/in/prajyotm Email: prajyotm@msn.com