1 / 9

Introduction to BlackBerry Push API

Introduction to BlackBerry Push API. Pratik Sapra, Mobile Application Development Specialist. Introduction To BlackBerry Push API. Overview Architecture Security Requesting Access. Overview – BlackBerry Push API. Provides a transport infrastructure for Server to Device pushed data

Télécharger la présentation

Introduction to BlackBerry Push API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to BlackBerry Push API Pratik Sapra, Mobile Application Development Specialist

  2. Introduction To BlackBerry Push API • Overview • Architecture • Security • Requesting Access

  3. Overview – BlackBerry Push API • Provides a transport infrastructure for Server to Device pushed data • Primary focus on consumer applications • Alerts • Replace polling to improve performance & reduce costs • Poke-Pull model • Event driven systems • Near real-time notifications Can be used for enterprise deployments • Cross company applications • Enterprises without a BlackBerry Enterprise Server

  4. Overview – Benefits • Provides information immediately • Optimizes network efficiency • Preserves the battery life • Reduces complexity for developers • Improves developer margins

  5. Architecture • Pushes are initiated on the Server • Server side application is required • Server to Server interface for the Push Initiator • BlackBerry Infrastructure is the middleware • Sends data to a specified port on the Device • Client side Java application required to receive the push • Uses PAP 2.2 Standard push protocols • OMA-WAP-TS-PAP-V2_2-20071002-C • Requests are HTTP XML requests • Supported requests: • Submit Push • Cancel Push • Query for Status • Response: • Result notification

  6. Architecture – Components Three major components: • The server-side push service • A client-side application • BlackBerry Infrastructure

  7. Architecture – Push Request Workflow • Server sends PAP Push which contains a list of specified devices • BlackBerry Infrastructure sends response to Server and queues request • BlackBerry Infrastructure pushes data to specified devices • Each device sends ACK to BlackBerry Infrastructure • BlackBerry Infrastructure sends notification to Server • Server sends Read notification to BlackBerry Infrastructure 1 Push Request 3 Response Push 2 Mobile Client Push Initiator BlackBerry Infrastructure 4 5 Acknowledgement Result Notification Response 6

  8. Security • BlackBerry Infrastructure Authentication • Push Initiator is authenticated to the BlackBerry Infrastructure • Push Initiator can only push to its mobile application • 1:1 relationship between Push Initiator and mobile application • Push Initiator can only push to devices registered for their application • Each push request is authenticated to BlackBerry Infrastructure • Unique listening port for each application • BlackBerry Infrastructure does not encrypt data • Expects that payload data will already be encrypted by Push Initiator • Content Provider Authentication • Mobile application should be authenticated to the Push Initiator

  9. Requesting Access • Register at www.blackberry.com/pushapi • Sample code provided on registration approval • Content Provider tests the push service • Given access to the evaluation infrastructure • Research In Motion validates the Content Provider’s client and server-side applications • Ensuring development guidelines are met • Service is moved into production • Once all requirements are met • Only available to ISV Alliance Partners • To become an ISV Alliance partner visit www.blackberry.com/allianceapplication • Contact for service costs

More Related