Flash Builder and Flex provide tools for building multi-screen applications with "Burrito" and "Hero". "Burrito" allows debugging applications on mobile devices from Flash Builder. "Hero" includes mobile-optimized UI components and patterns for touch interfaces. The document also discusses developing for platforms like Android, Blackberry Playbook, and deploying applications to devices and app stores from Flash Builder.
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Flash Builder and Flex Future: Multiscreen Apps with “Burrito” and “Hero
1. Flash Builder and Flex Future:
Multiscreen Apps with “Burrito” and “Hero”
2. Ryan Stewart
Developer Evangelist, Adobe
ryan@adobe.com
blog.digitalbackcountry.com
@ryanstewart
github.com/ryanstewart
Based in Seattle
Things I Like:
Beer
Mountaineering/Hiking/Backpacking
Geolocation/Mapping stuff
5. Flash Player 10.1 Adobe AIR
In-browser content Mobile applications
Games, video Native APIs, extra
functionality
Deploy as a SWF,
put on the web Package to target
individual devices
21. ViewNavigator
The pattern for screens
on devices for sequential
navigation
Can define transitions
between views
Uses push/pop stack to
move between views
22. ViewNavigator
The pattern for screens
on devices for sequential
navigation
Can define transitions
between views
Uses push/pop stack to
move between views
23. Tabbed UI
Used for navigation
when sequence doesn’t matter
24. TabNavigator
Tab through views
Just set up multiple
ViewNavigators with
the firstView property
Can’t use push/pop
26. ActionBar
navigationContent actionContent
titleContent
Provides easy access to important features
Won’t scroll
Can be defined globally or for each view
29. Mobile Debug Panel
Allows you to set up debugging
via the desktop or debugging via
the device
Has built-in device profiles for
screen resolutions
Developers can build their own
device profiles for resolutions
that aren’t supported
30. Debugging
Debug over USB or Wifi (USB is
better - with Wifi you have to be
on the same network)
Use trace statements, set
breakpoints, it all works
Flash Builder compiles and
deploys a debug version of the
app to the phone for you
31. Deployment
Flash Builder walks you through
the deployment steps including
creating a certificate (for
Android) and builds a native file
(.apk, .bar, etc)
Uses the same “Export release
build” that Flex developers use
today
33. Use as Much ActionScript as Possible
ItemRenders
Skins*
Custom Components
*In general, a few MXML skins won’t hurt,
especially if you use FXG assets
34. Graphical Assets
In general, the fastest type
will be ActionScript and Bitmaps
MXML is pretty slow:
Don’t use MXML Graphics
Don’t use MXML skins with FXG
Pre-compiled FXG with AS3
is a pretty good solution
35. Use a SplashScreen
Flex takes a bit of time to load
splashScreenImage is set to be fast and first
Provides near-instant user feedback
36. View Events
Perform data actions AFTER
the Transition
The View dispatches a
CREATION_COMPLETE event
before the transition happens
Listen for the VIEW_ACTIVATE
event, then perform data
operations
38. Three Ways to Develop in Flash on the PlayBook
ActionScript Projects
Tooling support in Builder and Flash Pro
Flex Projects
Best support for mobile patterns
Most robust components
Native Projects
QNX components used to build core
applications
43. Components
The native components for the PlayBook
Include base components like buttons, lists, etc
Also include higher level components like
LoginDialogue, MediaPlayer, etc
46. qnx.system.*
qnx.system.Device
Device information (hardwareID, vendorID)
Battery information (state, level,etc)
qnx.system.QNXApplication
Swipe events for OS
47. qnx.media.*
qnx.media.StageWebView
Webkit component for PlayBook
Display HTML in Flash-based PlayBook apps
qnx.media.MediaPlayer
Supports hardware accelerated media
Includes support for extra codecs
50. Conclusion
Mobile development means new design tricks
Critical to be able to deploy to multiple platforms
Leverage device specific features
Think mobile first