SlideShare a Scribd company logo
1 of 47
Download to read offline
@ryancanulla | developer.litl.com
Developing For The TV Companion
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What will be available to developers?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s available to developers?
Keyboard . Trackpad . Gestures
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s available to developers?
Trackpad . Gestures . Accelerometer
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s available to developers?
Gestures . Accelerometer . Microphone
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s available to developers?
Accelerometer . Microphone . Webcam
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s available to developers?
Microphone . Webcam . Keyboard
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What do I need to build channels now?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What do I need to build channels now?
litl os SDK
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What do I need to build channels now?
litl os simulator
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How can I get a more realistic experience?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How can I get a more realistic experience?
Use your phone.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How can I get a more realistic experience?
Connect Over WiFi
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Start in your favorite IDE.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Build your channel.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Test in the simulator.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Add remotes in the simulator.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Use an Android or iOS device.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Go to the settings tab.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Enable remote app connections.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Run your Android / iOS app.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Test on the device.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Prepare the USB stick.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What’s the developer workflow?
Plug it into the device :-)
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How “I” manage the service/view.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How “I” manage the service/view.
LitlServiceManager()
Where “my” service lives
How I pass my service around my application
Singleton
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How “I” manage the service/view.
LitlViewManager()
Listen for events from the service manager and react
accordingly
Ensures that your view change stuff is simple, clean, and
tucked away nicely
I usually have a class for each view (ie. Card, Focus Channel)
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What is overscan?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
What is overscan?
What is overscan?
Cropping of your content when it’s displayed on TV’s
Varies from TV to TV, but usually 5-10%
Occurs on both old & new TV sets
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How do I deal with overscan?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How do I deal with overscan?
Liquify your layout.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How do I deal with overscan?
Trust in the ViewBase()
All of my view objects extend ViewBase
You can now call myViewObject.setView(width, height)
Override sizeUpdated() and add in your layout logic
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How do I deal with overscan?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
How do I deal with overscan?
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Break.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
That was flash.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
LitlRemoteManager()
Instantiate in the ServiceManager
Extends RemoteHandlerManager
Handles the connection/disconnection of remotes
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
LitlRemoteManager()continued...
Constructor needs a reference to the service as well as
a factory class
Don’t forget to call the start() method
Override onRemoteConnected/onRemoteDisconnected
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
RemoteFactory()
Implements IRemoteHandlerFactory
Instantiates a Remote() factory object
This is a “set it and forget it” type of class :-)
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
Remote()
Extends AccelerometerEventHandler or
KeypadRemoteHandler
Implements IRemoteHandler
Override protected function onAccelerometerEvent()
Can override pair() & unpair() methods
Wednesday, November 10, 2010
@ryancanulla
developer.litl.com
Managing remotes and accelerometer data.
Wednesday, November 10, 2010

More Related Content

Similar to RIA Unleashed - Developing for the TV with litl os

We're not designing posters, here!
We're not designing posters, here!We're not designing posters, here!
We're not designing posters, here!André Luís
 
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptSencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptDavid Kaneda
 
OpenStack Summit, A Community of Service Providers
OpenStack Summit, A Community of Service ProvidersOpenStack Summit, A Community of Service Providers
OpenStack Summit, A Community of Service ProvidersAndrew Shafer
 
Successful development without QA
Successful development without QASuccessful development without QA
Successful development without QAPavel Gabriel
 
ZOMG WHY IS THIS CODE SO SLOW
ZOMG WHY IS THIS CODE SO SLOWZOMG WHY IS THIS CODE SO SLOW
ZOMG WHY IS THIS CODE SO SLOWAaron Patterson
 
Presentation Xplore
Presentation XplorePresentation Xplore
Presentation XploreXcode
 
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Amazon Web Services
 
Poisoning Rubinius: The _why and How
Poisoning Rubinius: The _why and HowPoisoning Rubinius: The _why and How
Poisoning Rubinius: The _why and HowBrian Ford
 
In depth with html5 java2days 2010
In depth with html5 java2days 2010In depth with html5 java2days 2010
In depth with html5 java2days 2010Mystic Coders, LLC
 
Is the Freemium Model Right for your Plugin?
Is the Freemium Model Right for your Plugin?Is the Freemium Model Right for your Plugin?
Is the Freemium Model Right for your Plugin?Kim Gjerstad
 
Servicios y Herramientas para usar en tu próximo proyecto
Servicios y Herramientas para usar en tu próximo proyectoServicios y Herramientas para usar en tu próximo proyecto
Servicios y Herramientas para usar en tu próximo proyectoOrlando Del Aguila
 
Quick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileQuick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileTroy Miles
 
Macruby - RubyConf Presentation 2010
Macruby - RubyConf Presentation 2010Macruby - RubyConf Presentation 2010
Macruby - RubyConf Presentation 2010Matt Aimonetti
 
Making burgers with JavaScript
Making burgers with JavaScriptMaking burgers with JavaScript
Making burgers with JavaScriptDiogo Antunes
 
Web Development With Ruby - From Simple To Complex
Web Development With Ruby - From Simple To ComplexWeb Development With Ruby - From Simple To Complex
Web Development With Ruby - From Simple To ComplexBrian Hogan
 
Samsung galaxy tab presentatie tijden UC-Day.nl
Samsung galaxy tab presentatie tijden UC-Day.nlSamsung galaxy tab presentatie tijden UC-Day.nl
Samsung galaxy tab presentatie tijden UC-Day.nlVincent Everts
 

Similar to RIA Unleashed - Developing for the TV with litl os (20)

We're not designing posters, here!
We're not designing posters, here!We're not designing posters, here!
We're not designing posters, here!
 
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptSencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
 
OpenStack Summit, A Community of Service Providers
OpenStack Summit, A Community of Service ProvidersOpenStack Summit, A Community of Service Providers
OpenStack Summit, A Community of Service Providers
 
Successful development without QA
Successful development without QASuccessful development without QA
Successful development without QA
 
ZOMG WHY IS THIS CODE SO SLOW
ZOMG WHY IS THIS CODE SO SLOWZOMG WHY IS THIS CODE SO SLOW
ZOMG WHY IS THIS CODE SO SLOW
 
Human APIs
Human APIsHuman APIs
Human APIs
 
Html5 Development
Html5 DevelopmentHtml5 Development
Html5 Development
 
Presentation Xplore
Presentation XplorePresentation Xplore
Presentation Xplore
 
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
 
Poisoning Rubinius: The _why and How
Poisoning Rubinius: The _why and HowPoisoning Rubinius: The _why and How
Poisoning Rubinius: The _why and How
 
How to get involved in Mozilla
How to get involved in MozillaHow to get involved in Mozilla
How to get involved in Mozilla
 
Html5 Apps
Html5 AppsHtml5 Apps
Html5 Apps
 
In depth with html5 java2days 2010
In depth with html5 java2days 2010In depth with html5 java2days 2010
In depth with html5 java2days 2010
 
Is the Freemium Model Right for your Plugin?
Is the Freemium Model Right for your Plugin?Is the Freemium Model Right for your Plugin?
Is the Freemium Model Right for your Plugin?
 
Servicios y Herramientas para usar en tu próximo proyecto
Servicios y Herramientas para usar en tu próximo proyectoServicios y Herramientas para usar en tu próximo proyecto
Servicios y Herramientas para usar en tu próximo proyecto
 
Quick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileQuick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery Mobile
 
Macruby - RubyConf Presentation 2010
Macruby - RubyConf Presentation 2010Macruby - RubyConf Presentation 2010
Macruby - RubyConf Presentation 2010
 
Making burgers with JavaScript
Making burgers with JavaScriptMaking burgers with JavaScript
Making burgers with JavaScript
 
Web Development With Ruby - From Simple To Complex
Web Development With Ruby - From Simple To ComplexWeb Development With Ruby - From Simple To Complex
Web Development With Ruby - From Simple To Complex
 
Samsung galaxy tab presentatie tijden UC-Day.nl
Samsung galaxy tab presentatie tijden UC-Day.nlSamsung galaxy tab presentatie tijden UC-Day.nl
Samsung galaxy tab presentatie tijden UC-Day.nl
 

Recently uploaded

Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

RIA Unleashed - Developing for the TV with litl os