Flash Camp Chennai - SHORT WAY TO DEVELOP FOR PLAYBOOK

Post on 09-May-2015

1,112 views 0 download

description

A session on developing applications for BlackBerry Tablet OS using Adobe AIR & SHORT AS3

transcript

DEVELOPING FOR THE BLACKBERRY TABLET OS USING ADOBE AIR & SHORT AS3

SHORT WAY TO DEVELOP FOR PLAYBOOK

-Arul Kumaran (@_Arul)

PLAYBOOK• 7-inch LCD, 1024 x 600, WSVGA, capacitive

touch screen with full multi-touch and gesture support

• BlackBerry Tablet OS with support for symmetric multiprocessing

• 1 GHz dual-core processor

• 1 GB RAM

• Dual HD cameras (3 MP front facing, 5 MP rear facing), supports 1080p HD video recording

• Open, flexible application platform with support for WebKit/HTML-5, Adobe Flash Player 10.1, Adobe Mobile AIR, Adobe Reader, POSIX, OpenGL, Java

REQUIREMENTS• Flash Builder Burrito Preview(recommended)/Flash Builder/

Command line

• Blackberry Tablet OS SDK

• QNX components

• Flash Builder Plugin

• Playbook Simulator

• Windows - VMware Player (Free)

• Mac - VMware Fusion

SET IT UP

SET IT UP• Install Blackberry Tablet OS SDK

• Windows - Install VMware Player

• Mac - Install VMware Fusion

• Install Playbook Simulator

• Run the setup file to extract the .iso file

• Install new Virtual Machine on VMware using that .iso file as “Other” operating system

• Increase the memory to 1024k

• Enable Hardware Acceleration

• Allow it to overwrite the filesystem of the VM

CONFIGURE

• Run the Playbook Simulator in VMware

• Setup a device password

• Enable Development mode

•Note down the ip address of the simulator

DEVELOPMENT OPTIONS

• Create a Mobile AS3 project and use QNX UI components (recommended by RIM)

• Create a Mobile Flex project using Hero

RUN/DEBUG• Under the Run

Configurations in Flash Builder Burrito

• Select “on device”

• Key in the IP Address and the device password

• Run/Debug on the simulator

SHORT AS3

• A Micro Framework to simplify ActionScript 3

•Open sourced under MIT License

•Works with both Flash Professional and Flash Builder

•Distributed as .swc

Write less and do more with ActionScript 3.0

USING SHORT

•Optimized commands and methods for use in both production and debugging

• Convenience tracking/tracing methods for incremental development in debug mode

• Source code as a reference

BLACKBERRY TABLET OS SDK & SHORT AS3

Match Made in Heaven

DEMO

• Short for Mobile Development

• Short for Playbook Development

SHORT ON MOBILECreating a Flip book with few lines of code

SHORT ON PLAYBOOKCapturing System wide top⇨bottom swipe