SlideShare una empresa de Scribd logo
1 de 17
Debugging Mobile Websites and Web Apps
     Mihai Corlan | Web Developer Evangelist | Adobe




© 2011 Adobe Systems Incorporated.
About Me

  Mihai Corlan
      Adobe Web Developer Evangelist
      Blog: http://corlan.org
      Twitter: mcorlan
      Email: mcorlan@adobe.com




   2
© 2011 Adobe Systems Incorporated.
Agenda

      Google Chrome for Android
      weinre
      Adobe Shadow




© 2011 Adobe Systems Incorporated.
The Problem

      When you create web apps or pages for mobile you have to test them on
       the devices
      Navigating on a different number of devices is a tedious task. You waste
       lot of time with the tiny keyboards…
      Web Inspector/Firebug tools are not available usually on mobile devices




                  Is there a better way to debug and test mobile web sites/apps?




© 2011 Adobe Systems Incorporated.
Google Chrome for Android 4




© 2011 Adobe Systems Incorporated.
With Chrome beta for Android

      You can start a remote web inspector session from your computer to the
       URL displayed on your mobile device
      Send a page you are viewing on your desktop Chrome to your mobile
       Chrome browser




© 2011 Adobe Systems Incorporated.
Remote debugging with Chrome for Android

  http://code.google.com/chrome/mobile/docs/debugging.html
      Install Android SDK on your machine – you need adb
      Connect your mobile device via USB cable to your computer
      Chrome for Android > Settings > Developer tools
           Enable USB Web debugging
      Execute in console this command:
           adb forward tcp:9222 localabstract:chrome_devtools_remote
      Navigate on your desktop Chrome to localhost:9222
      On your device navigate to the page you want to debug
      From your desktop Chrome choose the entry for that page > Web
       Inspector will start


© 2011 Adobe Systems Incorporated.
Issues with Chrome Beta for Android

      Works only on ICS (Android 4.x)
      The app is not available in all stores yet (you can find the APK file if you
       google for)




© 2011 Adobe Systems Incorporated.
weinre

      http://phonegap.github.com/weinre/
      Web Inspector Remote for WebKit-based browsers (works on iOS and
       Android)
      It works for websites and PhoneGap apps
      It doesn’t support all the Web Inspector features (JavaScript debugging
       doesn’t work)
      You have to inject a JavaScript file in the web page you want to debug
      Tutorial on weinre on my blog:
           http://corlan.org/2012/01/10/debugging-web-pages-and-phonegap-apps-on-
            mobile-devices/




© 2011 Adobe Systems Incorporated.
Solution: Adobe Shadow

      Adobe Shadow allows developers to connect their mobile devices to the
       computer/laptop and do “synchronized browsing”
      Each connected mobile device will display the same URL as the
       computer browser and it will stay in synch as you change the URL on
       your computer

                                     Computer               Mobile Devices




                                                URL




© 2011 Adobe Systems Incorporated.
Boring … is this all?

      Adobe Shadow allows you to start a remote Web Inspector session with
       any connected mobile device
      You can inspect the DOM, check the CSS properties, JavaScript
       Console,…




© 2011 Adobe Systems Incorporated.
How does Adobe Shadow work?

      It uses under the hood the weinre project
      You install Shadow app and Shadow Chrome extension on your
       computer
      You install Shadow mobile app on your mobile devices
      You connect all the devices to the same WiFi as your computer
      Tutorial on Adobe Shadow on my blog:
           http://corlan.org/2012/03/07/introducing-adobe-shadow-a-new-way-to-debug-
            mobile-web-sites-and-apps/




© 2011 Adobe Systems Incorporated.
Adobe Shadow supports

      Windows and Mac OS
      You have to use Chrome on your computer/laptop
      iOS and Android devices




© 2011 Adobe Systems Incorporated.
Where can I get it and how much does it cost?

      Adobe Shadow is in beta and it is free
      You can download it from http://labs.adobe.com/technologies/shadow/




© 2011 Adobe Systems Incorporated.
Thank You!


                                     Question & Answers Time!


                 http://corlan.org

                 http://twitter.com/mcorlan

                 http://github.com/mcorlan

                 mcorlan@adobe.com




© 2011 Adobe Systems Incorporated.
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, the Adobe PDF logo, AIR, ColdFusion, ColdFusion Builder, Flash, Flash Builder, the Flash logo, Flex, LiveCycle, and R
                       are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respec
                       owners.
                       © 2010 Adobe Systems Incorporated. All rights reserved. Printed in the USA. 9102xxxx 3/10
Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, ActionScript, AIR, Flash, Flash Builder, Flash Catalyst, the Flash logo, Flex, and LiveCycle are either registered trademarks or
trademarks of Adobe Systems Incorporated in the United States and/or other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of
their respective owners.
Printed in the USA. 91023957 3/10

© 2011 Adobe Systems Incorporated.

Más contenido relacionado

La actualidad más candente

Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZoneLester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
Phil Wolff
 
Buzz & fuss about html5
Buzz & fuss about html5Buzz & fuss about html5
Buzz & fuss about html5
PixelCrayons
 
Blog
BlogBlog
Blog
sel26
 

La actualidad más candente (20)

GENERATE PDF OF A WEB PAGE
GENERATE PDF OF A WEB PAGEGENERATE PDF OF A WEB PAGE
GENERATE PDF OF A WEB PAGE
 
Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZoneLester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
Lester Madden's "Concepts to Cash" for the Boston 2007 eBay DevZone
 
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistIntro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
 
WebDU Keynote
WebDU KeynoteWebDU Keynote
WebDU Keynote
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.
 
The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignThe Future of HTML5 Motion Design
The Future of HTML5 Motion Design
 
Useful Online Software
Useful Online Software Useful Online Software
Useful Online Software
 
iPhone Development: Zero to Sixty
iPhone Development: Zero to SixtyiPhone Development: Zero to Sixty
iPhone Development: Zero to Sixty
 
Internship Presentation 1 Web Developer
Internship Presentation 1 Web DeveloperInternship Presentation 1 Web Developer
Internship Presentation 1 Web Developer
 
Onlinebiz-magento-FacebookConnector-extension
Onlinebiz-magento-FacebookConnector-extensionOnlinebiz-magento-FacebookConnector-extension
Onlinebiz-magento-FacebookConnector-extension
 
Open Source examples from Adobe : Oscon kiosk
Open Source examples from Adobe : Oscon kioskOpen Source examples from Adobe : Oscon kiosk
Open Source examples from Adobe : Oscon kiosk
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development Presentation
 
Adobe Flex: Creating Widgets for the Desktop and Web
Adobe Flex: Creating Widgets for the Desktop and WebAdobe Flex: Creating Widgets for the Desktop and Web
Adobe Flex: Creating Widgets for the Desktop and Web
 
Buzz & fuss about html5
Buzz & fuss about html5Buzz & fuss about html5
Buzz & fuss about html5
 
The internet
The internetThe internet
The internet
 
Blog
BlogBlog
Blog
 
The future is hybrid
The future is hybridThe future is hybrid
The future is hybrid
 
Selling umbraco
Selling umbracoSelling umbraco
Selling umbraco
 
Presentation1 renan
Presentation1 renanPresentation1 renan
Presentation1 renan
 
Chrome
ChromeChrome
Chrome
 

Destacado

マークアップエンジニア だからうれしい Fireworksの使い方あれこれ
マークアップエンジニア だからうれしい Fireworksの使い方あれこれマークアップエンジニア だからうれしい Fireworksの使い方あれこれ
マークアップエンジニア だからうれしい Fireworksの使い方あれこれ
Naoki Matsuda
 
リサーチャーとマーケター原稿2012326
リサーチャーとマーケター原稿2012326リサーチャーとマーケター原稿2012326
リサーチャーとマーケター原稿2012326
Shigeru Kishikawa
 
最新開発支援ツールを使ったデバッグ対応
最新開発支援ツールを使ったデバッグ対応最新開発支援ツールを使ったデバッグ対応
最新開発支援ツールを使ったデバッグ対応
Osamu Monoe
 
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザインこれから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
Yasuhisa Hasegawa
 

Destacado (20)

ウェブ開発におけるアジャイルとデザインの勘所
ウェブ開発におけるアジャイルとデザインの勘所ウェブ開発におけるアジャイルとデザインの勘所
ウェブ開発におけるアジャイルとデザインの勘所
 
WordPressコミュニティの魅力 | OSC Nagoya 2012 WordBench Nagoya
WordPressコミュニティの魅力 | OSC Nagoya 2012 WordBench NagoyaWordPressコミュニティの魅力 | OSC Nagoya 2012 WordBench Nagoya
WordPressコミュニティの魅力 | OSC Nagoya 2012 WordBench Nagoya
 
マークアップエンジニア だからうれしい Fireworksの使い方あれこれ
マークアップエンジニア だからうれしい Fireworksの使い方あれこれマークアップエンジニア だからうれしい Fireworksの使い方あれこれ
マークアップエンジニア だからうれしい Fireworksの使い方あれこれ
 
リサーチャーとマーケター原稿2012326
リサーチャーとマーケター原稿2012326リサーチャーとマーケター原稿2012326
リサーチャーとマーケター原稿2012326
 
最新開発支援ツールを使ったデバッグ対応
最新開発支援ツールを使ったデバッグ対応最新開発支援ツールを使ったデバッグ対応
最新開発支援ツールを使ったデバッグ対応
 
Transformative Web Design ~変化にしなやかに対応するデザイン力~
Transformative Web Design ~変化にしなやかに対応するデザイン力~Transformative Web Design ~変化にしなやかに対応するデザイン力~
Transformative Web Design ~変化にしなやかに対応するデザイン力~
 
画像Hacks
画像Hacks画像Hacks
画像Hacks
 
解析データの分析と活用
解析データの分析と活用解析データの分析と活用
解析データの分析と活用
 
デザイナーがエンジニアさんと楽しくデザイン実装の話をするために
デザイナーがエンジニアさんと楽しくデザイン実装の話をするためにデザイナーがエンジニアさんと楽しくデザイン実装の話をするために
デザイナーがエンジニアさんと楽しくデザイン実装の話をするために
 
The Craft of UX
The Craft of UXThe Craft of UX
The Craft of UX
 
3D printing for Development Hack Day in Bucharest, session 1
3D printing for Development Hack Day in Bucharest, session 13D printing for Development Hack Day in Bucharest, session 1
3D printing for Development Hack Day in Bucharest, session 1
 
Simple Pure Java
Simple Pure JavaSimple Pure Java
Simple Pure Java
 
WebフレームワークXSS対策の自動化
WebフレームワークXSS対策の自動化WebフレームワークXSS対策の自動化
WebフレームワークXSS対策の自動化
 
『デザイニング・インターフェース』読書会資料
『デザイニング・インターフェース』読書会資料『デザイニング・インターフェース』読書会資料
『デザイニング・インターフェース』読書会資料
 
言語の世界
言語の世界言語の世界
言語の世界
 
Developing with Phonegap - Adobe Refresh 2012
Developing with Phonegap - Adobe Refresh 2012Developing with Phonegap - Adobe Refresh 2012
Developing with Phonegap - Adobe Refresh 2012
 
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザインこれから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
これから求められるWebコミュニケーションスキル 〜今日から始めるプロトタイプデザイン
 
6 Key Elements to a Good Website
6 Key Elements to a Good Website6 Key Elements to a Good Website
6 Key Elements to a Good Website
 
デジタルインテリジェンスの「構想力」
デジタルインテリジェンスの「構想力」デジタルインテリジェンスの「構想力」
デジタルインテリジェンスの「構想力」
 
JavaFX
JavaFXJavaFX
JavaFX
 

Similar a Debugging mobile websites and web apps

Development mobile app cross device
Development mobile app cross deviceDevelopment mobile app cross device
Development mobile app cross device
Phuong Nguyen
 
Mobile HTML5 Web Apps - Codemotion 2012
Mobile HTML5 Web Apps - Codemotion 2012Mobile HTML5 Web Apps - Codemotion 2012
Mobile HTML5 Web Apps - Codemotion 2012
marcocasario
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
Serge Jespers
 
Mobile Apps presentation
Mobile Apps presentationMobile Apps presentation
Mobile Apps presentation
Tom Printy
 

Similar a Debugging mobile websites and web apps (20)

Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
 
Development mobile app cross device
Development mobile app cross deviceDevelopment mobile app cross device
Development mobile app cross device
 
Flash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentFlash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile development
 
Mobile HTML5 Web Apps - Codemotion 2012
Mobile HTML5 Web Apps - Codemotion 2012Mobile HTML5 Web Apps - Codemotion 2012
Mobile HTML5 Web Apps - Codemotion 2012
 
Introduction to the cordova framework for developing mobile apps1
Introduction to the cordova framework for developing mobile apps1Introduction to the cordova framework for developing mobile apps1
Introduction to the cordova framework for developing mobile apps1
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for Android
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Hybrid Mobile App
Hybrid Mobile AppHybrid Mobile App
Hybrid Mobile App
 
Hybrid mobile app
Hybrid mobile appHybrid mobile app
Hybrid mobile app
 
Building Cross-Platform Mobile Apps
Building Cross-Platform Mobile AppsBuilding Cross-Platform Mobile Apps
Building Cross-Platform Mobile Apps
 
Mobile Development With Flash Platform
Mobile Development With Flash PlatformMobile Development With Flash Platform
Mobile Development With Flash Platform
 
Devoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with FlexDevoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with Flex
 
Android Web app
Android Web app Android Web app
Android Web app
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
 
fdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptxfdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptx
 
Mobile Apps Develpment - A Comparison
Mobile Apps Develpment - A ComparisonMobile Apps Develpment - A Comparison
Mobile Apps Develpment - A Comparison
 
Mobile Apps presentation
Mobile Apps presentationMobile Apps presentation
Mobile Apps presentation
 
Native v s hybrid
Native v s hybridNative v s hybrid
Native v s hybrid
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Debugging mobile websites and web apps

  • 1. Debugging Mobile Websites and Web Apps Mihai Corlan | Web Developer Evangelist | Adobe © 2011 Adobe Systems Incorporated.
  • 2. About Me Mihai Corlan  Adobe Web Developer Evangelist  Blog: http://corlan.org  Twitter: mcorlan  Email: mcorlan@adobe.com 2 © 2011 Adobe Systems Incorporated.
  • 3. Agenda  Google Chrome for Android  weinre  Adobe Shadow © 2011 Adobe Systems Incorporated.
  • 4. The Problem  When you create web apps or pages for mobile you have to test them on the devices  Navigating on a different number of devices is a tedious task. You waste lot of time with the tiny keyboards…  Web Inspector/Firebug tools are not available usually on mobile devices Is there a better way to debug and test mobile web sites/apps? © 2011 Adobe Systems Incorporated.
  • 5. Google Chrome for Android 4 © 2011 Adobe Systems Incorporated.
  • 6. With Chrome beta for Android  You can start a remote web inspector session from your computer to the URL displayed on your mobile device  Send a page you are viewing on your desktop Chrome to your mobile Chrome browser © 2011 Adobe Systems Incorporated.
  • 7. Remote debugging with Chrome for Android http://code.google.com/chrome/mobile/docs/debugging.html  Install Android SDK on your machine – you need adb  Connect your mobile device via USB cable to your computer  Chrome for Android > Settings > Developer tools  Enable USB Web debugging  Execute in console this command:  adb forward tcp:9222 localabstract:chrome_devtools_remote  Navigate on your desktop Chrome to localhost:9222  On your device navigate to the page you want to debug  From your desktop Chrome choose the entry for that page > Web Inspector will start © 2011 Adobe Systems Incorporated.
  • 8. Issues with Chrome Beta for Android  Works only on ICS (Android 4.x)  The app is not available in all stores yet (you can find the APK file if you google for) © 2011 Adobe Systems Incorporated.
  • 9. weinre  http://phonegap.github.com/weinre/  Web Inspector Remote for WebKit-based browsers (works on iOS and Android)  It works for websites and PhoneGap apps  It doesn’t support all the Web Inspector features (JavaScript debugging doesn’t work)  You have to inject a JavaScript file in the web page you want to debug  Tutorial on weinre on my blog:  http://corlan.org/2012/01/10/debugging-web-pages-and-phonegap-apps-on- mobile-devices/ © 2011 Adobe Systems Incorporated.
  • 10. Solution: Adobe Shadow  Adobe Shadow allows developers to connect their mobile devices to the computer/laptop and do “synchronized browsing”  Each connected mobile device will display the same URL as the computer browser and it will stay in synch as you change the URL on your computer Computer Mobile Devices URL © 2011 Adobe Systems Incorporated.
  • 11. Boring … is this all?  Adobe Shadow allows you to start a remote Web Inspector session with any connected mobile device  You can inspect the DOM, check the CSS properties, JavaScript Console,… © 2011 Adobe Systems Incorporated.
  • 12. How does Adobe Shadow work?  It uses under the hood the weinre project  You install Shadow app and Shadow Chrome extension on your computer  You install Shadow mobile app on your mobile devices  You connect all the devices to the same WiFi as your computer  Tutorial on Adobe Shadow on my blog:  http://corlan.org/2012/03/07/introducing-adobe-shadow-a-new-way-to-debug- mobile-web-sites-and-apps/ © 2011 Adobe Systems Incorporated.
  • 13. Adobe Shadow supports  Windows and Mac OS  You have to use Chrome on your computer/laptop  iOS and Android devices © 2011 Adobe Systems Incorporated.
  • 14. Where can I get it and how much does it cost?  Adobe Shadow is in beta and it is free  You can download it from http://labs.adobe.com/technologies/shadow/ © 2011 Adobe Systems Incorporated.
  • 15. Thank You! Question & Answers Time! http://corlan.org http://twitter.com/mcorlan http://github.com/mcorlan mcorlan@adobe.com © 2011 Adobe Systems Incorporated.
  • 16. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 17. Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, the Adobe PDF logo, AIR, ColdFusion, ColdFusion Builder, Flash, Flash Builder, the Flash logo, Flex, LiveCycle, and R are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respec owners. © 2010 Adobe Systems Incorporated. All rights reserved. Printed in the USA. 9102xxxx 3/10 Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, ActionScript, AIR, Flash, Flash Builder, Flash Catalyst, the Flash logo, Flex, and LiveCycle are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners. Printed in the USA. 91023957 3/10 © 2011 Adobe Systems Incorporated.

Notas del editor

  1. A new way to debug and test web applications and sites across mobile devices
  2. https://chrome.google.com/webstore/detail/idknbmbdnapjicclomlijcgfpikmndhd/related
  3. Install the weinre app or download the java executableConnect your mobile device and computer to the same WiFi networkEdit the weinre properties file to point to your machine IPStart the weinre app and copy from the server tab the script you need to include in your web pageNavigate to the page on your mobile device
  4. We still have some time for questions. Anyone?