16. What the web runs on!Unleashing The Whole Web, At Blazing Speeds
17. Setting Up your Environment Downloads Flash Builder 4.5 Tablet OS SDK VM Ware Fusion www.blackberry.com/developers/tabletos Code Signing https://www.blackberry.com/SignedKeys/ App World www.blackberry.com/developers/appworld/
19. Setting Up your Environment The Simulator In VMware Fusion, click File > Open. On the Open screen, navigate to the location where you installed the BlackBerry® Tablet OS SDK forAdobe® AIR®. The default location is /Developer/SDKs/Research In Motion/blackberry-tablet-sdk-<version>/BlackBerryPlayBookSimulator-<version>. Select the BlackBerryPlayBookSimulator.vmx file. Click Open. Click OK
21. Creating Your First App Flash Builder project http://bit.ly/PBfirstapp Signing setup http://bit.ly/PBsignapp
22. blackberry-tablet.xml Used to specify platform specific items Customize your splash screen Customize your app icon Set app capabilities Set Publisher tag for signing
23. blackberry-tablet.xml Custom App Icon <icon><image>someicon.png</image></icon> Path is relative to the root of your app Icon should be 86x86 Anything bigger than 90x90 will be ignored
24. blackberry-tablet.xml Custom Splash Screen <splashscreen>landscape.png:portrait.png</splashscreen> Image path relative to app root folder Images should be 1024x600 and 600x1024
34. A Touch-centric App Adding a swipe gesture //Top down swipe is left for developers to implement an //application menu private _menu:MyMenuBar; //Custom menu bar private function init():void { _menu.initializeUI(); app.addEventListener(QNXApplicationEvent.SWIPE_DOWN, swipeDown); } private function swipeDown(e:QNXApplicationEvent):void { if(! _menu.isVisible()) { _menu.show(); } } 19
36. A Touch-centric App Keeping the Backlight On The maximum supported size of a BlackBerry® Tablet OS BlackBerry PlayBook. Adobe® AIR® applications can override this backlight time-out period value and keep the screen on indefinitely if(keepLightOn) { NativeApplication.nativeApplication.systemIdleMode= SystemIdleMode.KEEP_AWAKE; } else { NativeApplication.nativeApplication.systemIdleMode= SystemIdleMode.NORMAL; } 21
71. 82% increase in gross sales with launch of AT&T carrier billing in App World 2.0
72.
73. Getting Started Download Tools, Sample Code, Docs, and Videos BlackBerry® Developer Zone www.blackberry.com/developers Ask for help Support Forums supportforums.blackberry.com Issue Tracker blackberry.com/developers/issuetracker Stay In Touch Twitter® @BlackBerryDev Blog devblog.blackberry.com Get Connected Developer Groups blackberry.com/developers/community Alliance Program blackberry.com/partners
74.
75. Most innovative BlackBerry WebWorks app on BlackBerry PlayBook tablets and BlackBerry 6 (Opens May 9 – August 26, 2011)
The maximum supported size of a BlackBerry® Tablet OS application is 300 MB. While the development tools do allow the creation of larger applications, you may run into installation problems when trying to install a BAR file that is larger than 300 MB.By default, the screen of a BlackBerry® PlayBook™ will turn off if there is no user activity within the backlight time-out period configured in the screen options of the BlackBerry PlayBook. Adobe® AIR® applications can override this time-out value and keep the screen on indefinetly by changing the system idle mode to SystemIdleMode.KEEP_AWAKE. The code sample below demonstrates how to toggle this value.
Applications will be run in the directory we call "sandbox". Name of this directory is irrelevant and cannot be relied on. An application should not attempt to access any files outside of this directory. Sandbox is the default "working directory". The structure is app data tmp logs shared All except shared are app's private directories, only the app can read/write files there. The "app" directory is the link to where application files are installed (what was packaged in the bar file), these files are read only. For Adobe® AIR®, application files will be in subdirectory "air" (i.e. app/air/your_file). The private data directory is "data". Application has full access to this directory (read/write). The $HOME envvar is set to this directory. To initiate the sandbox app may copy files from "app" to "data" (for example user modifiable config files) on the first run. The "tmp" directory can be used to create temporary files, application should take care of cleaning these files, but system may remove them at any time app is not running - so it cannot be used to persist data, only "data" directory should be used for this. The "logs" is used for development, application stdin and stdout is redirected to logs/log file, as well as "core" files will be created there if app crashes. The "shared" is link to common location where all apps share files. It has the following structure:
Applications will be run in the directory we call "sandbox". Name of this directory is irrelevant and cannot be relied on. An application should not attempt to access any files outside of this directory. Sandbox is the default "working directory". The structure is app data tmp logs shared All except shared are app's private directories, only the app can read/write files there. The "app" directory is the link to where application files are installed (what was packaged in the bar file), these files are read only. For Adobe® AIR®, application files will be in subdirectory "air" (i.e. app/air/your_file). The private data directory is "data". Application has full access to this directory (read/write). The $HOME envvar is set to this directory. To initiate the sandbox app may copy files from "app" to "data" (for example user modifiable config files) on the first run. The "tmp" directory can be used to create temporary files, application should take care of cleaning these files, but system may remove them at any time app is not running - so it cannot be used to persist data, only "data" directory should be used for this. The "logs" is used for development, application stdin and stdout is redirected to logs/log file, as well as "core" files will be created there if app crashes. The "shared" is link to common location where all apps share files. It has the following structure:
Applications will be run in the directory we call "sandbox". Name of this directory is irrelevant and cannot be relied on. An application should not attempt to access any files outside of this directory. Sandbox is the default "working directory". The structure is app data tmp logs shared All except shared are app's private directories, only the app can read/write files there. The "app" directory is the link to where application files are installed (what was packaged in the bar file), these files are read only. For Adobe® AIR®, application files will be in subdirectory "air" (i.e. app/air/your_file). The private data directory is "data". Application has full access to this directory (read/write). The $HOME envvar is set to this directory. To initiate the sandbox app may copy files from "app" to "data" (for example user modifiable config files) on the first run. The "tmp" directory can be used to create temporary files, application should take care of cleaning these files, but system may remove them at any time app is not running - so it cannot be used to persist data, only "data" directory should be used for this. The "logs" is used for development, application stdin and stdout is redirected to logs/log file, as well as "core" files will be created there if app crashes. The "shared" is link to common location where all apps share files. It has the following structure:
Growing requests for localized versions of apps in these regions!
Submission incentiveFirst 100 submissions to each competition and BlackBerry App World (value ~US $6K):BlackBerry App World carousel placement for 1 weekOne BlackBerry SmartphoneTop Three Competition Winners per regionGrand Prize Winner (value ~US $33K)Trip for two to local BlackBerry developer conference, accommodation and developer conference passesMedia press packageBlackBerry App World carousel placement for 3 weeksBlackBerry Alliance Membership – Elite levelOne BlackBerry PlayBook and Three BlackBerry Smartphones$1000 BlackBerry accessory gift certificateTop Three Competition Winners per regionFirst Runner-Up (value ~US $18K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 2 weeksBlackBerry Alliance Membership – Select levelOne BlackBerry PlayBook and Two BlackBerry Smartphones$500 BlackBerry accessory gift certificateSecond Runner-Up (value ~US $10K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 1 weekBlackBerry Alliance Membership – Associate levelOne BlackBerry PlayBook and One BlackBerry Smartphone$100 BlackBerry accessory gift certificateOne Recognition Award per region (value ~US $8K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 1 week (if applicable to application)One BlackBerry PlayBook and One BlackBerry Smartphone
Submission incentiveFirst 100 submissions to each competition and BlackBerry App World (value ~US $6K):BlackBerry App World carousel placement for 1 weekOne BlackBerry SmartphoneTop Three Competition Winners per regionGrand Prize Winner (value ~US $33K)Trip for two to local BlackBerry developer conference, accommodation and developer conference passesMedia press packageBlackBerry App World carousel placement for 3 weeksBlackBerry Alliance Membership – Elite levelOne BlackBerry PlayBook and Three BlackBerry Smartphones$1000 BlackBerry accessory gift certificateTop Three Competition Winners per regionFirst Runner-Up (value ~US $18K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 2 weeksBlackBerry Alliance Membership – Select levelOne BlackBerry PlayBook and Two BlackBerry Smartphones$500 BlackBerry accessory gift certificateSecond Runner-Up (value ~US $10K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 1 weekBlackBerry Alliance Membership – Associate levelOne BlackBerry PlayBook and One BlackBerry Smartphone$100 BlackBerry accessory gift certificateOne Recognition Award per region (value ~US $8K)Two local BlackBerry developer conference passesMedia press packageBlackBerry App World carousel placement for 1 week (if applicable to application)One BlackBerry PlayBook and One BlackBerry Smartphone