Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Optimizing your Apps for Emerging Markets

E8da8d13d06ca69dbe019ecad71ed2a4?s=47 vinaygaba
November 01, 2014

Optimizing your Apps for Emerging Markets

In the past few years, Android has grown exponentially, and now more than one billion people use Android devices every month from more than 40,000 different device models. Emerging markets like India,China, Brazil and Indonesia are driving this growth. We need to be able to customize the experiences of these people in order to build amazing products. What works for high-end smartphones won't necessarily work on low end phones which are very common in these emerging markets.

In order to accomplish this, we need to be smart about things like performance, network and data. This talk discusses about the challenges that your users face on feature phones and how to overcome those using some tips and tricks which would make a lot of difference. Also covers some examples of how some popular companies optimize their apps for emerging markets.

E8da8d13d06ca69dbe019ecad71ed2a4?s=128

vinaygaba

November 01, 2014
Tweet

Transcript

  1. Optimizing your Apps for Emerging Markets #DevFestAhm

  2. None
  3. Emerging Markets Drive Growth

  4. None
  5. Everyone is Different

  6. None
  7. 1. Different Phones

  8. None
  9. Small Screens Slow Phones Challenges

  10. Optimizations Year Class

  11. None
  12. Optimizations Year Class Redesign

  13. Supporting Screen Sizes

  14. None
  15. Optimizations Year Class Redesign Asset Tinting

  16. Why Tint Assets? • Need lesser Assets • Less memory

    used • Faster Iteration Times
  17. //Code

  18. 6 23 3 5

  19. 2. Different Networks

  20. 71% 3G Penetration 7.5% 3G Penetration Challenges 500 ms 280

    ms
  21. Optimizations Dynamic Network Quality Detection

  22. //Code

  23. Adjust Behavior • Increase/Decrease Compression • More/Less Parallel Network Requests

    • Pre-Fetch more content
  24. Optimizations Dynamic Image Compression Pre Fetching Content

  25. 3. Different Data Plans

  26. Challenges Sales Image Downloads Dominate Consumed Content

  27. Optimizations Image Scaling

  28. None
  29. Appropriate Image Size • Thumbnail, Preview Image, Full Image •

    Low-res devices might never need a full resolution image • Most times the thumbnail is enough
  30. Optimizations Image Scaling Flat Design

  31. None
  32. Optimizations Image Scaling WebP Flat Design

  33. JPEG WEBP PNG GIF Lossy Lossless Transparency Animation Comparisons 90%

    of images sent to Facebook for Android are WebP format
  34. PNG 24 kb WebP 10 kb No Noticeable Change

  35. Compression • Use Native WebP decoder on Android 4.2 and

    later • Use libwebp and libpng to transcode back to JPEG and PNG. To avoid the transcoding cost, use JPG with mozjpeg • Compatible with JPEG • 5% size reducation
  36. 4. Different Languages

  37. Challenges

  38. Questions? @vinaygaba

  39. http://bit.do/vinaygabafeedback @vinaygaba