SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
Android goes reading

             Mobile
Mobile
 Solutions
              Solutions
History
From first contact to Go Live
First contact      Start pitch                       Contract                    Go Live
   12/2011           06/2012                         12/2012                     03/2013




      Mobile
       Solutions    Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling             2
Mobile Solutions                                  We a re hiring!
What we do…                                        Our Products
                                                                            App Development
 §  We offer solutions for                                              „Software development
     application and software                                             of mobile applications
                                                                                  (Apps)
     development                                                         on all current platforms
                                                                        (iOS, Android, WP7) and
 §  We support all the way – from                                        platform independent
     the first idea until go-live and                  App Deployment         with HTML5.“
     even afterwards                                „Deployment of mobile
                                                      applications for the
 §  We assemble the best team                          platforms iOS,
                                                            Android,
     according to your specific needs
                                                      WindowsPhone and
                                                          BlackBerry.“

     Mobile
      Solutions             Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling         3
Android goes reading
    Reader Application Development

             Mobile
Mobile
 Solutions
              Solutions
Agenda
1.  Android with changed conditions

2.  Android with new challenges

3.  Clean drawing

4.  Android without animations

5.  Android without Settings App

6.  New challenges for testing




      Mobile
       Solutions          Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   5
Android with changed conditions
§  PagePlace Reader App as foundation
    §    Supports all Android Smartphones and Tablets but no eInk Device

§  Reader Application supports only one device à no device
    diversity
    §    One resolution
    §    One display size
    §    One aOS version (Android 2.3.3)
    §    No device specialities
§  Unlimited rights and possibilities
    §    Using any permission
    §    Less restricted Android SDK
    §    System Application


          Mobile
           Solutions             Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   6
Android with new challenges

§  challenges due to hardware
    §    eInk display with only 16 grey shades, 4 fps and ghosting susceptibility
    §    Specific performance characteristics
    §    Limited key availability
    §    Optimise battery lifetime up to 7 weeks


§  challenges due to system environment
    §    Being the only application on the device
    §    Being Homescreen
    §    Being Settings App
    §    Handle all important system events


          Mobile
           Solutions               Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   7
Clean drawing
                                                                                 “The triangle of clean drawing”
§  Drawing problems with eInk:
                                                                                              Flickering
    §    Switching between screens
    §    Ghosting of dialogs
    §    Page turning
    §    Time delays between view and display

§  System was enhanced with new functionality for
    screen refresh (Java and native)
§  “The triangle of clean drawing”                                           Speed                        Ghosting

§  Final solution for the switch between the screens:
    §    Custom view that handles drawing in every screen
    §    Reduce ghosting through multistep process and screen
          interaction
          Mobile
           Solutions             Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling                    8
Android without animations

§  Custom view for lists and grids
    §    No scrolling
    §    Navigation through paging


§  Web Shop
    §    No scrolling
    §    Enhanced interfaces (e.g. control the
          display from Website)


§  Replace 2D and 3D animations
    from application


          Mobile
           Solutions              Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   9
Android without Settings App
§    Settings App not visible on the device
       §  Reader has to offer important settings

§    Handle WiFi
       §  Adoption and customization of native
           implementation from Android 2.3.3

§    Setting system time
§    Setting brightness of frontlight
§    Setting timeout delays
§    Factory reset
§    Managing battery
§    Managing system updates
§    Handling internal and external storage


         Mobile
          Solutions              Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   10
New challenges for testing
§  New test requirements coming up besides                                                “Manekineko”
    application- and integration tests

§  Complex investigations and benchmarks
    were made
    §  Current measurements on the device
    §  Performance benchmarks and comparisons to
        competitors' products
    §  Current measurements during over 10.000 page
        turns in the reader


§  We had to find new testing procedures


          Mobile
           Solutions          Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling                  11
Android goes reading
             System Development

             Mobile
Mobile
 Solutions
              Solutions
System development
How to work inside the Droid

§    7 GB Source
§    Compile Time ~ 45 minutes
§    „Deployment Time“ ~ 5-10 minutes
§    Dependencies ususally fail at runtime
§    You can change everything... Maybe
      you shouldn‘t ;)




         Mobile
          Solutions            Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   13
Downsizing/Boot-time tuning
How a droid comes to life....
                   service                                                   Package
 bootloader
                   manager                                                   Manager



                                             System                          Activity
   kernel           zygote                                                              launcher
                                             Server                          Manager


                                                                              Power
    init           daemons                                                   Manager



                      boot
                                                                                  ...
      Mobile       animiation
       Solutions          Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling        14
Downsizing/Boot-time tuning
How a droid comes to life....




      Mobile
       Solutions        Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   15
Downsizing/Boot-time tuning
How a droid comes to life....
                   service                                                   Package
 bootloader
                   manager                                                   Manager



                                             System                          Activity
   kernel           zygote                                                              launcher
                                             Server                          Manager


                                                                              Power
    init           daemons                                                   Manager



                      boot
                                                                                  ...
      Mobile       animiation
       Solutions          Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling        16
Power Management
Let the droid sleep...




      Mobile
       Solutions         Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   17
Power Management
Let the droid sleep...

/sys/devices/system/cpu/cpuX/cpufreq/stats/time_in_state	
  
	
  
350000	
  174343	
  
700000	
  248177	
  
920000	
  47966	
  
1200000	
  57356	
  
	
  
	
  
deepSleepTime	
  =	
  SystemClock.elapsedRealtime()	
  -­‐	
  (Σ	
  (all	
  cpu_states));	
  


deepSleepTime	
  =	
  SystemClock.elapsedRealtime()	
  -­‐	
  SystemClock.uptimeMillis();	
  



       Mobile
        Solutions                  Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling   18
Power Management
 Let the droid sleep...
$	
  adb	
  shell	
  dumpsys	
  batteryinfo	
  
	
  
....	
  
Statistics	
  since	
  last	
  charge:	
  
	
  	
  System	
  starts:	
  0,	
  currently	
  on	
  battery:	
  false	
  
	
  	
  Time	
  on	
  battery:	
  3h	
  13m	
  20s	
  916ms	
  (0,2%)	
  realtime,	
  1h	
  23m	
  39s	
  681ms	
  (0,1%)	
  uptime	
  
	
  	
  Total	
  run	
  time:	
  81d	
  20h	
  13m	
  10s	
  836ms	
  realtime,	
  33d	
  20h	
  15m	
  30s	
  182ms	
  uptime,	
  	
  
	
  	
  Screen	
  on:	
  21m	
  34s	
  334ms	
  (11,2%),	
  Input	
  events:	
  0,	
  Active	
  phone	
  call:	
  0ms	
  (0,0%)	
  
	
  	
  Screen	
  brightnesses:	
  dark	
  2m	
  46s	
  112ms	
  (12,8%),	
  dim	
  9m	
  53s	
  192ms	
  (45,8%),	
  	
  
                       	
                	
                   	
             	
                   	
  medium	
  8m	
  32s	
  673ms	
  (39,6%),	
  light	
  22s	
  356ms	
  (1,7%)	
  
	
  	
  Kernel	
  Wake	
  lock	
  "PowerManagerService":	
  1h	
  4m	
  50s	
  972ms	
  (1180	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "main":	
  36m	
  28s	
  908ms	
  (14	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "mipi_link":	
  33m	
  4s	
  670ms	
  (2137	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "radio-­‐interface":	
  16m	
  30s	
  724ms	
  (808	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "gps-­‐lock":	
  11m	
  1s	
  604ms	
  (5	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "wlan_rx_wake":	
  9m	
  3s	
  70ms	
  (186	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "alarm_rtc":	
  4m	
  30s	
  287ms	
  (448	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "BTLowPower":	
  3m	
  13s	
  600ms	
  (221	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "musb_autosuspend_wake_lock":	
  31s	
  998ms	
  (594	
  times)	
  realtime	
  
	
  	
  Kernel	
  Wake	
  lock	
  "wlan_wake":	
  31s	
  786ms	
  (17901	
  times)	
  realtime	
  
...	
  
               Mobile
                Solutions                                 Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling                                                    19
Thanks for Attention!

             Mobile
Mobile
 Solutions
              Solutions

Más contenido relacionado

Destacado

What is civil court
What is civil courtWhat is civil court
What is civil courtSeredup Maya
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentationhession25819
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ? SoonTips.com
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentationconnectshilpa
 

Destacado (6)

What is civil court
What is civil courtWhat is civil court
What is civil court
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentation
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ?
 
Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 

Similar a Droidcon2013 helleberg kruemmling_androidgoesreading_inovex_telekom

Android goes reading
Android goes readingAndroid goes reading
Android goes readinginovex GmbH
 
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...Mathias Seguy
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]Yatharth Aggarwal
 
Android Development: The Basics
Android Development: The BasicsAndroid Development: The Basics
Android Development: The BasicsMike Desjardins
 
What’s new for Developers in IBM Domino & Domino Designer 9.0.1
What’s new for Developers in IBM Domino & Domino Designer 9.0.1What’s new for Developers in IBM Domino & Domino Designer 9.0.1
What’s new for Developers in IBM Domino & Domino Designer 9.0.1IBM Connections Developers
 
Lecture 01: Introduction into Android.pptx
Lecture 01: Introduction into Android.pptxLecture 01: Introduction into Android.pptx
Lecture 01: Introduction into Android.pptxYousef Alamir
 
Google Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdgeGoogle Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdgeyuvalb
 
Android 130923124440-phpapp01
Android 130923124440-phpapp01Android 130923124440-phpapp01
Android 130923124440-phpapp01rajesh kumar
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...Paul Della-Nebbia
 
Android Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IAndroid Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IOpersys inc.
 
Android introduction and rooting technology
Android introduction and rooting technologyAndroid introduction and rooting technology
Android introduction and rooting technologyGagandeep Nanda
 
Android workshop material
Android workshop materialAndroid workshop material
Android workshop materialReza Yogaswara
 
AD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
AD503: XPages Mobile Development in IBM Domino 9.0.1 and BeyondAD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
AD503: XPages Mobile Development in IBM Domino 9.0.1 and BeyondTony McGuckin
 
Build a DB2 for z/OS Mobile Application
Build a DB2 for z/OS Mobile ApplicationBuild a DB2 for z/OS Mobile Application
Build a DB2 for z/OS Mobile ApplicationJane Man
 
Developing Mobile Apps for Performance - Swapnil Patel, Verizon Media
Developing Mobile Apps for Performance - Swapnil Patel, Verizon MediaDeveloping Mobile Apps for Performance - Swapnil Patel, Verizon Media
Developing Mobile Apps for Performance - Swapnil Patel, Verizon MediaYahoo Developer Network
 

Similar a Droidcon2013 helleberg kruemmling_androidgoesreading_inovex_telekom (20)

Android goes reading
Android goes readingAndroid goes reading
Android goes reading
 
Gl android platform
Gl android platformGl android platform
Gl android platform
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Android platform
Android platform Android platform
Android platform
 
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
 
Android Development: The Basics
Android Development: The BasicsAndroid Development: The Basics
Android Development: The Basics
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
What’s new for Developers in IBM Domino & Domino Designer 9.0.1
What’s new for Developers in IBM Domino & Domino Designer 9.0.1What’s new for Developers in IBM Domino & Domino Designer 9.0.1
What’s new for Developers in IBM Domino & Domino Designer 9.0.1
 
Lecture 01: Introduction into Android.pptx
Lecture 01: Introduction into Android.pptxLecture 01: Introduction into Android.pptx
Lecture 01: Introduction into Android.pptx
 
Parking Lot App
Parking Lot AppParking Lot App
Parking Lot App
 
Google Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdgeGoogle Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdge
 
Android 130923124440-phpapp01
Android 130923124440-phpapp01Android 130923124440-phpapp01
Android 130923124440-phpapp01
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
 
Android Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IAndroid Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part I
 
Android introduction and rooting technology
Android introduction and rooting technologyAndroid introduction and rooting technology
Android introduction and rooting technology
 
Android workshop material
Android workshop materialAndroid workshop material
Android workshop material
 
AD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
AD503: XPages Mobile Development in IBM Domino 9.0.1 and BeyondAD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
AD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
 
Build a DB2 for z/OS Mobile Application
Build a DB2 for z/OS Mobile ApplicationBuild a DB2 for z/OS Mobile Application
Build a DB2 for z/OS Mobile Application
 
Developing Mobile Apps for Performance - Swapnil Patel, Verizon Media
Developing Mobile Apps for Performance - Swapnil Patel, Verizon MediaDeveloping Mobile Apps for Performance - Swapnil Patel, Verizon Media
Developing Mobile Apps for Performance - Swapnil Patel, Verizon Media
 

Más de Droidcon Berlin

Droidcon de 2014 google cast
Droidcon de 2014   google castDroidcon de 2014   google cast
Droidcon de 2014 google castDroidcon Berlin
 
Android programming -_pushing_the_limits
Android programming -_pushing_the_limitsAndroid programming -_pushing_the_limits
Android programming -_pushing_the_limitsDroidcon Berlin
 
Android industrial mobility
Android industrial mobility Android industrial mobility
Android industrial mobility Droidcon Berlin
 
From sensor data_to_android_and_back
From sensor data_to_android_and_backFrom sensor data_to_android_and_back
From sensor data_to_android_and_backDroidcon Berlin
 
new_age_graphics_android_x86
new_age_graphics_android_x86new_age_graphics_android_x86
new_age_graphics_android_x86Droidcon Berlin
 
Testing and Building Android
Testing and Building AndroidTesting and Building Android
Testing and Building AndroidDroidcon Berlin
 
Matchinguu droidcon presentation
Matchinguu droidcon presentationMatchinguu droidcon presentation
Matchinguu droidcon presentationDroidcon Berlin
 
Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Droidcon Berlin
 
The artofcalabash peterkrauss
The artofcalabash peterkraussThe artofcalabash peterkrauss
The artofcalabash peterkraussDroidcon Berlin
 
Raesch, gries droidcon 2014
Raesch, gries   droidcon 2014Raesch, gries   droidcon 2014
Raesch, gries droidcon 2014Droidcon Berlin
 
Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Droidcon Berlin
 
20140508 quantified self droidcon
20140508 quantified self droidcon20140508 quantified self droidcon
20140508 quantified self droidconDroidcon Berlin
 
Tuning android for low ram devices
Tuning android for low ram devicesTuning android for low ram devices
Tuning android for low ram devicesDroidcon Berlin
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradioDroidcon Berlin
 
Droidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon Berlin
 

Más de Droidcon Berlin (20)

Droidcon de 2014 google cast
Droidcon de 2014   google castDroidcon de 2014   google cast
Droidcon de 2014 google cast
 
Android programming -_pushing_the_limits
Android programming -_pushing_the_limitsAndroid programming -_pushing_the_limits
Android programming -_pushing_the_limits
 
crashing in style
crashing in stylecrashing in style
crashing in style
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Android industrial mobility
Android industrial mobility Android industrial mobility
Android industrial mobility
 
Details matter in ux
Details matter in uxDetails matter in ux
Details matter in ux
 
From sensor data_to_android_and_back
From sensor data_to_android_and_backFrom sensor data_to_android_and_back
From sensor data_to_android_and_back
 
droidparts
droidpartsdroidparts
droidparts
 
new_age_graphics_android_x86
new_age_graphics_android_x86new_age_graphics_android_x86
new_age_graphics_android_x86
 
5 tips of monetization
5 tips of monetization5 tips of monetization
5 tips of monetization
 
Testing and Building Android
Testing and Building AndroidTesting and Building Android
Testing and Building Android
 
Matchinguu droidcon presentation
Matchinguu droidcon presentationMatchinguu droidcon presentation
Matchinguu droidcon presentation
 
Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3
 
The artofcalabash peterkrauss
The artofcalabash peterkraussThe artofcalabash peterkrauss
The artofcalabash peterkrauss
 
Raesch, gries droidcon 2014
Raesch, gries   droidcon 2014Raesch, gries   droidcon 2014
Raesch, gries droidcon 2014
 
Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Android open gl2_droidcon_2014
Android open gl2_droidcon_2014
 
20140508 quantified self droidcon
20140508 quantified self droidcon20140508 quantified self droidcon
20140508 quantified self droidcon
 
Tuning android for low ram devices
Tuning android for low ram devicesTuning android for low ram devices
Tuning android for low ram devices
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradio
 
Droidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicro
 

Último

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Último (20)

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 

Droidcon2013 helleberg kruemmling_androidgoesreading_inovex_telekom

  • 1. Android goes reading Mobile Mobile Solutions Solutions
  • 2. History From first contact to Go Live First contact Start pitch Contract Go Live 12/2011 06/2012 12/2012 03/2013 Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 2
  • 3. Mobile Solutions We a re hiring! What we do… Our Products App Development §  We offer solutions for „Software development application and software of mobile applications (Apps) development on all current platforms (iOS, Android, WP7) and §  We support all the way – from platform independent the first idea until go-live and App Deployment with HTML5.“ even afterwards „Deployment of mobile applications for the §  We assemble the best team platforms iOS, Android, according to your specific needs WindowsPhone and BlackBerry.“ Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 3
  • 4. Android goes reading Reader Application Development Mobile Mobile Solutions Solutions
  • 5. Agenda 1.  Android with changed conditions 2.  Android with new challenges 3.  Clean drawing 4.  Android without animations 5.  Android without Settings App 6.  New challenges for testing Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 5
  • 6. Android with changed conditions §  PagePlace Reader App as foundation §  Supports all Android Smartphones and Tablets but no eInk Device §  Reader Application supports only one device à no device diversity §  One resolution §  One display size §  One aOS version (Android 2.3.3) §  No device specialities §  Unlimited rights and possibilities §  Using any permission §  Less restricted Android SDK §  System Application Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 6
  • 7. Android with new challenges §  challenges due to hardware §  eInk display with only 16 grey shades, 4 fps and ghosting susceptibility §  Specific performance characteristics §  Limited key availability §  Optimise battery lifetime up to 7 weeks §  challenges due to system environment §  Being the only application on the device §  Being Homescreen §  Being Settings App §  Handle all important system events Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 7
  • 8. Clean drawing “The triangle of clean drawing” §  Drawing problems with eInk: Flickering §  Switching between screens §  Ghosting of dialogs §  Page turning §  Time delays between view and display §  System was enhanced with new functionality for screen refresh (Java and native) §  “The triangle of clean drawing” Speed Ghosting §  Final solution for the switch between the screens: §  Custom view that handles drawing in every screen §  Reduce ghosting through multistep process and screen interaction Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 8
  • 9. Android without animations §  Custom view for lists and grids §  No scrolling §  Navigation through paging §  Web Shop §  No scrolling §  Enhanced interfaces (e.g. control the display from Website) §  Replace 2D and 3D animations from application Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 9
  • 10. Android without Settings App §  Settings App not visible on the device §  Reader has to offer important settings §  Handle WiFi §  Adoption and customization of native implementation from Android 2.3.3 §  Setting system time §  Setting brightness of frontlight §  Setting timeout delays §  Factory reset §  Managing battery §  Managing system updates §  Handling internal and external storage Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 10
  • 11. New challenges for testing §  New test requirements coming up besides “Manekineko” application- and integration tests §  Complex investigations and benchmarks were made §  Current measurements on the device §  Performance benchmarks and comparisons to competitors' products §  Current measurements during over 10.000 page turns in the reader §  We had to find new testing procedures Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 11
  • 12. Android goes reading System Development Mobile Mobile Solutions Solutions
  • 13. System development How to work inside the Droid §  7 GB Source §  Compile Time ~ 45 minutes §  „Deployment Time“ ~ 5-10 minutes §  Dependencies ususally fail at runtime §  You can change everything... Maybe you shouldn‘t ;) Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 13
  • 14. Downsizing/Boot-time tuning How a droid comes to life.... service Package bootloader manager Manager System Activity kernel zygote launcher Server Manager Power init daemons Manager boot ... Mobile animiation Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 14
  • 15. Downsizing/Boot-time tuning How a droid comes to life.... Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 15
  • 16. Downsizing/Boot-time tuning How a droid comes to life.... service Package bootloader manager Manager System Activity kernel zygote launcher Server Manager Power init daemons Manager boot ... Mobile animiation Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 16
  • 17. Power Management Let the droid sleep... Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 17
  • 18. Power Management Let the droid sleep... /sys/devices/system/cpu/cpuX/cpufreq/stats/time_in_state     350000  174343   700000  248177   920000  47966   1200000  57356       deepSleepTime  =  SystemClock.elapsedRealtime()  -­‐  (Σ  (all  cpu_states));   deepSleepTime  =  SystemClock.elapsedRealtime()  -­‐  SystemClock.uptimeMillis();   Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 18
  • 19. Power Management Let the droid sleep... $  adb  shell  dumpsys  batteryinfo     ....   Statistics  since  last  charge:      System  starts:  0,  currently  on  battery:  false      Time  on  battery:  3h  13m  20s  916ms  (0,2%)  realtime,  1h  23m  39s  681ms  (0,1%)  uptime      Total  run  time:  81d  20h  13m  10s  836ms  realtime,  33d  20h  15m  30s  182ms  uptime,        Screen  on:  21m  34s  334ms  (11,2%),  Input  events:  0,  Active  phone  call:  0ms  (0,0%)      Screen  brightnesses:  dark  2m  46s  112ms  (12,8%),  dim  9m  53s  192ms  (45,8%),              medium  8m  32s  673ms  (39,6%),  light  22s  356ms  (1,7%)      Kernel  Wake  lock  "PowerManagerService":  1h  4m  50s  972ms  (1180  times)  realtime      Kernel  Wake  lock  "main":  36m  28s  908ms  (14  times)  realtime      Kernel  Wake  lock  "mipi_link":  33m  4s  670ms  (2137  times)  realtime      Kernel  Wake  lock  "radio-­‐interface":  16m  30s  724ms  (808  times)  realtime      Kernel  Wake  lock  "gps-­‐lock":  11m  1s  604ms  (5  times)  realtime      Kernel  Wake  lock  "wlan_rx_wake":  9m  3s  70ms  (186  times)  realtime      Kernel  Wake  lock  "alarm_rtc":  4m  30s  287ms  (448  times)  realtime      Kernel  Wake  lock  "BTLowPower":  3m  13s  600ms  (221  times)  realtime      Kernel  Wake  lock  "musb_autosuspend_wake_lock":  31s  998ms  (594  times)  realtime      Kernel  Wake  lock  "wlan_wake":  31s  786ms  (17901  times)  realtime   ...   Mobile Solutions Bernhard Hochstätter, Dominik Helleberg, Michael Krümmling 19
  • 20. Thanks for Attention! Mobile Mobile Solutions Solutions