Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Grokking TechTalk #26: Compare ios and android platform

159 views

Published on


- It's quite popular these days for one mobile app to be built in both platform iOS and Android. Despites the fact that the hybrid technology is becoming more popular these days, these hybrid technologies are still built based on the core components of each platform, which is why understanding core components of each platform is a required for building mobile app these days.
- In this talk, I will discuss about the similarities and differences between these two platforms in some aspects: Application life cycles, Views animation mechanism, Security, Push Notification mechanism,...

Speaker: Lộc Võ
- Freelance Mobile Developer

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Grokking TechTalk #26: Compare ios and android platform

  1. 1. Compare ios and android platform Loc Vo
  2. 2. About me ● Started working with ios since iphone 1, iOS 2.0 ● Started working with Android since Android 4.1 ● After that, spent a couple of years working with backend and frontend (NodeJS, Backbone, AngularJS)
  3. 3. Outline ● Architecture ● Views ● Controllers ● Data ● App-app communication ● Server-App communication
  4. 4. Architectures
  5. 5. Structure of an android app
  6. 6. Structure of an ios app
  7. 7. Views
  8. 8. Layout File IOS Android
  9. 9. iOS Storyboard ● Save many screens in the same file. ● Logic of screen switching.
  10. 10. Android views
  11. 11. Some notes ● Previously, ios use auto-scaling strategy ● Recent version, iOS support constraint -> become more and more similar to Android
  12. 12. Animation
  13. 13. Common use cases ● View transition ● Screen transition ● View transform
  14. 14. iOS
  15. 15. OpenGL ES
  16. 16. Controller
  17. 17. IOS - DataSource and Delegate
  18. 18. Android - Adapter
  19. 19. Database / Datastorage
  20. 20. iOS ● Support Private File Storage ● Not support public file storage (except iCloud, photo library) ● Support Private File Storage ● Do support External / Public file storage Android
  21. 21. iOS ● Support CoreData (Based on SQL Lite) ● Natively support ORM ● Support SQL Lite ● Now, have Room (ORM) Android
  22. 22. Application Life Cycle
  23. 23. Android Life Cycle ●
  24. 24. iOS Application Life Cycle
  25. 25. App to app communication
  26. 26. iOS ● Open app by url ● Register file type ● AirDrop ● Open app by url ● Content provider Android
  27. 27. Deep Linking technique branch.io
  28. 28. Server-App communication
  29. 29. iOS ● Local push notification ● Remote push notification ● Pushkit notification ● Broadcast message ● Push notification ● Notification Channel Android More customization at the notification’s styles
  30. 30. Push Notifications ● Similar mechanism between two platform ● Tools ○ Pusher ○ OneSignal
  31. 31. App Permission - Runtime vs Install time?
  32. 32. App Permission IOS - Ask for each permission separately in run-time Android - Ask for all permission when install app - Ask for each permission separately in run-time Soft-asking permission techniques
  33. 33. iOS - Enterprise applications ● Use undocumented API
  34. 34. Q&A

×