2011 AT&T Developer Summit 2011 AT&T Developer Summit

translatoryazooInternet και Εφαρμογές Web

12 Νοε 2013 (πριν από 4 χρόνια)

213 εμφανίσεις

2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
2011 AT&T Developer Summit
© 2011 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or
AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment,
representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T.
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
January 5, 2011
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Developing for webOS
2
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
3
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
GRAY NORTON
Senior Product Manager
HP webOS Software Platform
3
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
webOS overview
The webOS platform
Developing for webOS using web technologies
Developing for webOS in C/C++
Cross-platform development
Q&A
Developing for webOS
Agenda
4
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
5
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
5
webOSOverview
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
This isn’t just a good OS, it’s a great OS…
…webOS 2.0 feels like a best-in-class contender…
Josh Topolsky
Engadget
October 2010
6
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Activities represented by cards
Unobtrusive notifications
Apps and services can run
in the background
True Multitasking
7
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Search the web
Find an app or contact
Start an email or SMS
Create a task or memo
Map a location
Update your status
and more…
From card view, just start typing to…
Just Type
8
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Contacts
Calendar
Messaging
Email
Facebook, LinkedIn
Google, Yahoo, AIM
MS Exchange
and more…
Seamlessly combines information from multiple sources
Synergy
9
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Unique app experiences
for the Touchstone
charging dock
Clock, Agenda, Slideshow,
and more…
Exhibition
10
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Thousands of apps
Top brands, publishers
and developers
From social networking
to productivity to 3D
games…
Apps
11
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Two product lines: Pre and Pixi
Top 3 US carriers
Also in Europe, Canada & Mexico
Thousands of developers
Thousands of apps
The webOS Ecosystem Today
12
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
The Road Ahead: webOS at HP Scale
13
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
14
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
14
The webOSPlatform
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
webOS is based on JavaScript, HTML5, and
CSS, and those skill sets are abundantly
available at Pivotal. We found our people can
be very productive, very quickly – the
difference of programming an application in
days versus a couple of weeks.
Pivotal Labs
15
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
We found with webOS our iteration time was low, and
that is huge…
It’s the difference between “I’ll have that change in
45 minutes” versus “I’ll have it up and running in
30 seconds”…
You can see those changes happen almost instantly
Self Aware Games
16
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
I don’t know of another platform where it’s
really this simple to get an app up and
running in a short amount of time
Kaboom
17
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
We were amazed at how fast we got
everything up and running. We spent about
three days porting the core technology to
webOS. After that, the first game,Sparkle,
was ported in just one day.
10tons
18
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
The level of engagement on the part of Palm
and the developer community for webOS has
been much more than other developer
programs and communities we’ve worked with
Self Aware Games
19
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Development Options
20
Web
Technologies
HP framework & tools
3
rd
party frameworks
& tools
Straight HTML/JS/CSS
Compiled Code
(PDK)
C/C++
OpenGL
SDL
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
webOS Platform Architecture
21
Low-level OS Components (Linux)
UI System Manager
Web App Runtime
(WebKit + v8)
Compiled App Runtime
Node.js
Service
Runtime
Built-in
webOS
Services
JS Service
Web App
“Hybrid” App
Compiled App
Activity Manager
webOS Service Bus
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
22
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
22
Developing for webOS…
Using Web Technologies
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Key concepts
MojoApplication Framework
23
Stages and Scenes
Allow multiple application windows to be created
(stages), and multiple views within an application
(scenes)
Events
Support for standard DOM events and custom
events. Examples include drag, flick, hold, start
scrolling and many more.
Storage
Support for cookies, Mojo Depot and
HTML5 database functions
UI Widgets
Examples include buttons, checkboxes, sliders
and indicators
Services
Service APIs allows access to hardware features
such as phone, LBS data and camera
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Example UI widgets
Mojo Application Framework
24
Button
Password Field
Checkbox
Radio Buttons
Popup Menu
Slider
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Optimized for performance
Modular architecture
Built-in support for multiple screen sizes
Next-generation Framework: Enyo
25
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Develop in the browser
Ares Development Environment
26
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Node.js is built into webOS
Services launched on request or may be scheduled
Mojo service framework provides integration with
webOS service bus
Develop Services in JavaScript with Node.js
27
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
28
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
28
Developing for webOS…
Using C/C++
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Brings C and C++ code to HP webOS
Lets you leverage existing code base
High application performance
Two usage models
Standalone
Hybrid: Plug C/C++ code into an HTML/JavaScript/C++ app
Less portable than JavaScript
No GUI toolkit provided
The Plug-in Development Kit
29
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
HP webOS Software Development Kit 1.4.5 or later
Windows Hosted Development
CodeSourcery G++ Lite for GNU Linux/ARM
Visual Studio 2005 or later
GPU and drivers to support OpenGL 2.0 or later
Mac OS X Hosted Development
GNU Compiler Collection (gcc)
Xcode (IDE and tools for desktop simulation)
Development tools
The Plug-in Development Kit
30
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
SDL 1.2
Raw framebuffer access
TrueType fonts
BMP, JPEG, and PNG loading
OpenGL ES
1.1 for fixed-function 3D acceleration
2.0 for programmable shaders
Drawing on the screen
The Plug-in Development Kit
31
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
SDL_Audio
Raw PCM audio access
SDL_Mixer
Allows MP3 and Ogg Vorbis audio sources
Multiple Channels
OpenAL
New in webOS 2.0
Commonly used in Apple iOS applications
SDL_Cinema
For MPEG4 video file playback
Playing media
The Plug-in Development Kit
32
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Keyboard Input
Key Down, Key Repeat, Key Up
Touch Input
Allows tracking up to five fingers
Accelerometer
Read as three axis joystick
Getting user input with SDL events
The Plug-in Development Kit
33
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Call services on the webOS service bus
System Information
Locale information
Direct GPS Support
Control the network firewall
Disable notifications
JavaScript APIs for Hybrid Apps
Additional APIs
The Plug-in Development Kit
34
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
35
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
35
Cross-platform Development
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
PhoneGap
Compatibility layer allows HTML/JS/CSS apps to be
deployed across mobile platforms
Third-party app frameworks
jQuery Mobile
Sencha Touch
SproutCore Mobile
Cross-platform Using Web Technologies
36
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
Third-party frameworks can run within PDK,
providing GUI toolkits and additional functionality
Airplay SDK
Cross-platform Using Compiled Code
37
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
38
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
38
Q&A
2011 AT&T Developer Summit
The views expressed in this presentation, do not necessarily reflect the views of AT&T.
2011 AT&T Developer Summit
© 2011 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or
AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment,
representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T.