• Save
BlackBerry Enterprise Development Guide
Upcoming SlideShare
Loading in...5
×
 

BlackBerry Enterprise Development Guide

on

  • 11,169 views

This guide will help developers make the right development decisions, leveraging the right tools and resources. Key topics covered include an overview of BlackBerry WebWorks, Building HTML5 ...

This guide will help developers make the right development decisions, leveraging the right tools and resources. Key topics covered include an overview of BlackBerry WebWorks, Building HTML5 applications with native-like functionality, using existing web development frameworks, and much more.

Statistics

Views

Total Views
11,169
Views on SlideShare
2,982
Embed Views
8,187

Actions

Likes
1
Downloads
0
Comments
0

10 Embeds 8,187

http://devblog.blackberry.com 5786
http://bizblog.blackberry.com 2205
http://feeds.feedburner.com 132
http://rapidberry.net 50
http://translate.googleusercontent.com 6
http://www.newsblur.com 2
http://127.0.0.1 2
http://www.blackberryjamconference.com 2
http://www.protopage.com 1
http://131.253.14.66 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

BlackBerry Enterprise Development Guide BlackBerry Enterprise Development Guide Document Transcript

  • Table of ContentsIntroduction .................................................................................................................................................. 3Enterprise Mobility Development Strategy .................................................................................................. 3Native SDK versus HTML5 ............................................................................................................................. 4BlackBerry WebWorks Overview .................................................................................................................. 4Building HTML5 applications with Native Capabilities ................................................................................. 4Use Existing Web Development Frameworks ............................................................................................... 4 Apache Cordova™ (PhoneGap™) .............................................................................................................. 4 jQuery Mobile (iQuery) ............................................................................................................................. 4 Sencha Touch ............................................................................................................................................ 5WebWorks Resources ................................................................................................................................... 5 WebWorks SDK ......................................................................................................................................... 5 Ripple Emulator ........................................................................................................................................ 5 BlackBerry Simulators ............................................................................................................................... 5 Documentation and Developer Forums ................................................................................................... 5Get Started Today ......................................................................................................................................... 5Deploying and Managing Client Applications ............................................................................................... 5 BlackBerry Enterprise Server .................................................................................................................... 6 BlackBerry Device Service ......................................................................................................................... 6Securing Your Enterprise Content................................................................................................................. 6 BlackBerry Balance Technology ................................................................................................................ 6 BlackBerry Balance technology for BlackBerry Smartphones* ............................................................. 6 Data Protection ......................................................................................................................................... 6 IT and Application Control Policies ........................................................................................................... 7Appendix ....................................................................................................................................................... 8 BlackBerry WebWorks Overview .............................................................................................................. 8 Building HTML5 Applications with Native Functionality ........................................................................... 8 Use Existing Web Development Frameworks ........................................................................................... 8 WebWorks Resources ............................................................................................................................... 8 Get Started Today ..................................................................................................................................... 8 Deploying and Managing Client Applications ........................................................................................... 8 Securing Your Enterprise Content............................................................................................................. 8
  • IntroductionAs more and more smartphones enter the enterprise space there is increasing desire to extend enterprise databeyond the desktop and into mobile. If you are an enterprise developer who is looking to extend access toenterprise data on the BlackBerry® platform then keep reading. You’ll find out how you can use HTML5, throughour BlackBerry® WebWorks platform, as a means of rapid development by leveraging your existing skills. You willalso learn how BlackBerry helps you deploy; manage; secure; and handle connectivity for your application.Enterprise Mobility Development StrategyAny discussion on mobile applications will need to include the development tools to be used in building theapplication. There are many competing platforms in the mobile space today and each comes with their ownunique native development toolkit. With each native toolkit comes a specific development language such asObjective C for iOS®; Java™ for Android™; and C/C++ for QNX® for BlackBerry. This means that your applicationhas to be written from the ground up to support each platform not to mention the requirement of specializeddevelopment skills that your company may not have.The good news is that while the goal of writing an application once to deploy to any number of devices isn’t quitehere yet it is very close in the form of HTML5 applications. HTML5 also lowers the barrier to entry as it is a morefamiliar language for many existing enterprise developers. Some important questions to ask when evaluating theHTML5 route are: Do you want to use a common code base for BlackBerry® OS 6 & 7 devices? Do you want to use the same code base for the BlackBerry® PlayBook™ tablet? Do you want to be ready for BlackBerry® 10? Do you want to use the same code base to support a Bring Your Own Device (BYOD) philosophy that could include non-BlackBerry devices? Do you want to use a standards based; open source approach to application development?If your answer is yes to more than one of these questions then HTML5 is your best option. From a BlackBerryperspective HTML5, through our WebWorks platform, let’s you write your application for most of our device typeswith very little modification. If developing for traditional BlackBerry smartphones as well as the BlackBerryPlayBook tablet and BlackBerry 10 smartphone is your goal then HTML5 is the only framework that will apply to all.You may have noticed that amongst these questions there was no mention of how you want to connect your clientapplication to the behind the firewall enterprise content. That is because BlackBerry removes the complexity ofnetwork connectivity through our BlackBerry® Mobile Data Service (MDS). BlackBerry MDS, a component ofBlackBerry® Enterprise Server or BlackBerry® Device Service, sits behind the firewall and seamlessly provides asecure tunnel between the application and enterprise application server. This means that you can focus onapplication development and not networking. Figure 1 - BlackBerry WebWorks provides a common development interface across the BlackBerry ecosystem.
  • Native SDK versus HTML5A common misperception seems to be that Native SDK’s provide a much superior user experience then HTML5does when it comes to mobile applications. The Native versus HTML5 decision should be viewed in light of whatfunctionality the application is to exhibit. Native SDK’s would typically be a factor when your application is verygraphic intensive and needs direct access to the hardware on the device. For most enterprise applications thefunctionality and experience that HTML5 offers will meet the needs of their users. HTML5 through BlackBerryWebWorks offers access to Native functionality and can be deployed as secure, standalone applications.BlackBerry WebWorks OverviewA BlackBerry WebWorks application is simply a standalone web application that you can deploy to a BlackBerrysmartphone or tablet. Since it’s a standalone application you dont need to point to a remote server to load a webpage or application which provides excellent offline capabilities. Of course it’s becoming more difficult to findyourself without access to wireless coverage of some sort so WebWorks also allows your application to connect toa remote web server.BlackBerry WebWorks allows you to take advantage ofstandard web technologies, like CSS, HTML5, andJavaScript to build your application. This means that youcan create applications quicker because you can reuse yourexisting web experience and web assets.Finally, and most importantly, you can add nativefunctionality to your HTML5 application by using theBlackBerry WebWorks platform. Figure 2 - BlackBerry WebWorks packages web assets into BlackBerry applications.Building HTML5 applications with Native CapabilitiesSo we said that you can add native functionality to your HTML5 application but you may be asking what thatactually means. This means that you can use JavaScript extensions to extend the functionality of your BlackBerryWebWorks application to include the functionality provided by BlackBerry APIs and Java APIs that are available toNative Applications.Some of the native functionality that your application can access includes local storage (SQLite); Touch; GPS; Input;IO; and Media.Use Existing Web Development FrameworksIt is true that just HTML development experience does not necessarily extend to creating applications for themobile space. Web development frameworks help eliminate the overhead associated with integrating commonactivities into your application and let you focus on delivering the features that your users need.Apache Cordova™ (PhoneGap™)Apache Cordova (“Cordova”) is an application platform that allows developers to author native mobile applicationswith web technologies (such as JavaScript, HTML5 and CSS3) and get access to APIs and app stores. You can eventake web based assets created with other development frameworks and use Cordova to provide native API access.jQuery Mobile (iQuery)jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling,animating, and Ajax interactions for rapid web development. It enables developers to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets.
  • Sencha TouchSencha Touch enables developers to quickly and easily create HTML5 based mobile apps that work on BlackBerryand other leading mobile devices. It features GUI controls; CSS transitions; touch event management; applicationdata support; and offline configuration. Sencha Touch in particular can produce very large applications withcomplex functionality so that should be taken into consideration.WebWorks ResourcesWhen you’re ready to begin developing enterprise applications with BlackBerry WebWorks you should becomefamiliar with the resources that are part of the development process.WebWorks SDKThe BlackBerry WebWorks SDK is a command-line tool that you can use to compile, package, sign, and deployyour application to BlackBerry smartphones and tablets or for the BlackBerry 10 OS. The BlackBerry WebWorksSDK is also used behind the scenes by the Ripple emulator.Ripple EmulatorWith the Ripple emulator, you can quickly see how your application looks and functions on multiple mobile devicesand platforms, while using BlackBerry WebWorks and PhoneGap APIs in a quick, browser-like environment. Youcan use the Ripple emulator to perform JavaScript debugging, HTML DOM inspection, automated testing, andmultiple device and screen resolution emulation in real-time without redeploying the application or restarting theemulator. The Ripple emulator reduces the challenges faced by mobile developers caused by platformfragmentation in the marketplace.BlackBerry SimulatorsIf you want to test your application on a model of BlackBerry that you don’t have access to, or with a specificversion of operating system software, you can use the available BlackBerry simulators. BlackBerry simulators allowyou to run and view your applications exactly as you would on a real BlackBerry smartphone or tablet.Documentation and Developer ForumsThe HTML5 WebWorks section of the BlackBerry Developers web site contains tutorials; best practices; and moreto familiarize you with the development process. If that’s still not enough then you have access to our Web andWebWorks Development Forum, frequented by fellow developers and the RIM development team, where you canlearn from WebWorks experts.Get Started TodayOf course sometimes a little help is needed to start you along the way and BlackBerry has you covered on thatfront. Start out at our Developers website with the API reference guide to see what native functionality you haveaccess to. Then visit our github page to see our source repositories and view WebWorks samples. One of ourmost popular samples is the HelloWorld application so make sure you take a look it.Deploying and Managing Client ApplicationsBlackBerry also makes the lifecycle management of your applications simpler through the BlackBerry EnterpriseServer and BlackBerry Device Service. Both systems include the BlackBerry Mobile Data Service (MDS) ConnectionService which connects wireless applications on BlackBerry devices to the applications on an organization’sapplication servers or web servers. After a wireless application is installed it can receive data by sending pullrequests to applications that are located on application servers or web servers. Best of all this doesn’t require anycomplex firewall changes as the BlackBerry Solution utilizes the same single firewall port for all data traffic.
  • BlackBerry Enterprise ServerThe BlackBerry Enterprise Server, and BlackBerry® Enterprise Server Express, allows you to manage traditionalBlackBerry smartphones (OS 7.1 and prior). Through this system you can wirelessly deploy your application to theusers who need it; control which device features the application can access; audit which users have it installed; andwirelessly upgrade or delete your application.BlackBerry Device ServiceThe BlackBerry Device Service allows you to manage the BlackBerry PlayBook tablet and BlackBerry 10smartphones. With this you can install and manage third-party applications; specify the versions of theapplications that you want to install, update, or remove; and specify which applications are required or optional.Securing Your Enterprise ContentCreating your application to mobilize your enterprise content is only half the story. When looking at extendingenterprise data to the mobile realm it is extremely important that this data remains secure. After all this content isimportant enough that you want it to be available to your mobile workforce no matter where they are. If it’s thisimportant you want to help make sure that no one, other than the intended recipient, ever gains access to thiscontent.One of the core tenants of the BlackBerry® Enterprise Solution is the ability to provide a powerful and flexiblesecurity implementation to help protect that sensitive data. Some of the ways in which your enterprise content issecured are with BlackBerry® Balance™ technology; data encryption; and IT Policies.BlackBerry Balance TechnologyBlackBerry Balance technology helps enable BlackBerry smartphones and tablets to be used for business andpersonal purposes without compromise.BlackBerry Balance technology for BlackBerry PlayBook tablet*BlackBerry Balance technology helps to address corporate security concerns without limiting your use of personalapplications. Using distinct areas of your tablet called perimeters, you can separate your work and personalactivities. A perimeter is a grouping of applications, data, and network connections that allows for targeted controland management. It has separate data storage, application permissions, and network routing rules.*Available with BlackBerry PlayBook tablet (OS 2.0+) activated on BlackBerry Device Service (6.0+).BlackBerry Balance technology for BlackBerry Smartphones*BlackBerry Balance technology enables a single BlackBerry smartphone to be used for both work and personalpurposes. By helping to keep business information highly secure and separate from personal information, userscan enjoy consumer-oriented features for the fullest BlackBerry experience possible.Includes features such as: Distinguish between work and personal data Delete work data when employees leave Help protect business data — at rest or in motion on mobile devices*Available with BlackBerry Smartphones (OS 6.0+) activated on a BlackBerry Enterprise Server (5.0.3+).Data ProtectionBlackBerry solutions meet a number of independent, third-party approvals and certifications including FIPS 140-2validation. This allows the BlackBerry solution to mobilize enterprise data in some of the most sensitiveorganizations in the world such as government; healthcare; and financial.
  • Data that is stored locally can be secured through AES-256 encryption on both the BlackBerry smartphone andBlackBerry PlayBook tablet. Using content protection all data that is associated with third-party applications onthe BlackBerry smartphone is secured when the device is locked. The BlackBerry PlayBook tablet helps to secureall content that resides in the work perimeter until the user enters their enterprise password.To encrypt data that is in transit between the BlackBerry Server and a BlackBerry device in your organization, theBlackBerry® Enterprise Solution uses BlackBerry transport layer AES-256 encryption. BlackBerry transport layerencryption is designed to help encrypt data from the time that a device sends a packet to when the BlackBerryServer receives the packet, and from the time that the BlackBerry Server sends a packet to when the devicereceives the packet.IT and Application Control PoliciesTo control the behavior of the device, you can use IT administration commands, IT policies, and application controlpolicies to perform the following actions: You can send IT administration commands to lock the device, permanently delete work data, permanently delete user information and application data, and return the device settings to the default values. You can send an application control policy to a device to control whether third-party applications are available and can connect to the device and whether third-party applications or add-on applications developed by Research In Motion can access work data.
  • AppendixBlackBerry WebWorks Overview What’s a WebWorks Application?Building HTML5 Applications with Native Functionality WebWorks API Reference GuideUse Existing Web Development Frameworks PhoneGap jQuery Resources Sencha TouchWebWorks Resources What’s the Ripple Emulator? What’s the WebWorks SDK? BlackBerry Simulators HTML5 WebWorks Documentation BlackBerry WebWorks Developers ForumGet Started Today API Reference Guide WebWorks Samples BlackBerry WebWorks gitub repositoryDeploying and Managing Client Applications Deploying applications to BlackBerry smartphones Deploying applications to BlackBerry PlayBook BlackBerry MDS Connection ServiceSecuring Your Enterprise Content BlackBerry Balance for BlackBerry PlayBook tablet BlackBerry Balance for BlackBerry Smartphones BlackBerry Enterprise Server security BlackBerry PlayBook security Advanced Encryption Standard (AES) BlackBerry security certifications Cryptographic Module Validation (FIPS 140-2) © 2012 Research In Motion Limited, All rights reserved. BlackBerry®, RIM®, Research In Motion® and related trademarks, names and logos are the property of RIM and are registered and/or used in the U.S. and countries around the world. IOS® is a registered trademark or trademark of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. Java® and all Java based trademarks and logos are trademarks of Oracle and/or its affiliates. Android is a trademark of Google Inc. Apache Cordova is a trademark of The Apache Software Foundation.