sony working with sony and developing for xperia devices
TRANSCRIPT
Karl-Johan Dahlström Head of Developer Relations
PA1 2013-02-21 2 Confidential
developer
world sonymobile.com/developer @sonyxperiadev
PA1 2013-02-21 3 Confidential
Developers
Application and Game Developers •Tools •Support •Promotion
Custom ROM Developers •Open Source Archives •Support •Unlockbootloader
PA1 2013-02-21 4 Confidential
Developer Tools
PA1 2013-02-21 5 Confidential
•US, Canada: Phone loaner program •Europe and rest of the world… Need to raise our service level. We are working on it!
Developer Tools
PA1 2013-02-21 6 Confidential
2013 breakthrough year for Sony Mobile
PA1 2013-02-21 7 Confidential
Awareness
TVC
2013 breakthrough year for Sony Mobile
PA1 2013-02-21 8 Confidential
Sony Select.
20+ Million Xperia devices
PA1 2013-02-21 9 Confidential
Sony Select.
PA1 2013-02-21 10 Confidential
Some things we want you to think of:
• Xperia Z has full HD - 1080p, 443ppi
– Make sure you support: xxhdpi
• STAMINA mode activated
– AlarmManager class, won’t wake up the system
PA1 2013-02-21 11 Confidential
PA1 2013-02-21 12 Confidential
PA1 2013-02-21 13 Confidential
Pal Szasz Software Developer
PA1 2013-02-21 14 Confidential
CHKBUGREPORT (open source)
PA1 2013-02-21 15 Confidential
How to analyze the system? • Capture bugreports
– contains logs (system, event, radio) – service state dumps – stacktraces – running processes – and more… – they are HUGE (6MB or more) text files
• To get a bugreport: – “adb bugreport > bugreport.txt” – Settings -> Developer Options -> Take bugreport
PA1 2013-02-21 16 Confidential
What does ChkBugReport do?
In short: parses the single huge bugreport text file and outputs a set of html pages, charts, data files.
PA1 2013-02-21 17 Confidential
Output
PA1 2013-02-21 18 Confidential
When and how to use it?
• There is an ANR or application crash
• Check service restarts
• Check memory usage after a while
• Check battery usage
• etc … … …
PA1 2013-02-21 19 Confidential
Check memory usage
Memory usage chart created from GC (Garbage Collector) logs
PA1 2013-02-21 20 Confidential
Check battery usage
PA1 2013-02-21 21 Confidential
Check battery usage
PA1 2013-02-21 22 Confidential
Open Source: Extend ChkBugReport
PA1 2013-02-21 23 Confidential Confidential PA1 2013-02-21 23
XAppDbg (open source)
PA1 2013-02-21 24 Confidential
XAppDbg
PA1 2013-02-21 25 Confidential
developer
world sonymobile.com/developer @sonyxperiadev
PA1 2013-02-21 26 Confidential
developer
world sonymobile.com/developer @sonyxperiadev
PA1 2013-02-21 27 Confidential