Optimizing Android Development

1,345 views
1,291 views

Published on

Keeping your android apps runnings smoothly

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,345
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Optimizing Android Development

  1. 1. Android: Keeping things running smoothly on your apps Tran Vu Tat Binh @tvtb ; @teamskunkworks
  2. 2. Agenda <ul><li>The target </li></ul><ul><li>Asynchronous – pros & cons </li></ul><ul><li>Android apps with tab/iPhone UI design </li></ul><ul><li>Lazy loading optimization </li></ul><ul><li>User’s illusions </li></ul><ul><li>Sumary </li></ul>
  3. 3. The target <ul><li>No ANR, no lagging </li></ul><ul><li>UI is responsive </li></ul><ul><li>Everything runs fast or make users feel it’s fast </li></ul><ul><li>Save battery </li></ul>
  4. 4. Asynchronous - pros <ul><li>Loading things takes time  do it asynchronous, unblock UI </li></ul><ul><li>While waiting for “this”, users are able to do “that”. </li></ul>
  5. 5. Asynchronous -… & cons <ul><li>Many threads  the whole thing sloooow, may cause stress. </li></ul><ul><li>Thread pool?  how many is enough, what if out of threads? </li></ul><ul><li>Set priority for some kind of task? Sounds good, depends on cases. </li></ul>
  6. 6. Tab/iPhone UI design
  7. 7. Tab/iPhone UI design <ul><li>What’s the differences here? </li></ul><ul><li>The reason? </li></ul><ul><li>Suggestion of memory self-managing model inside application. </li></ul>
  8. 8. Lazy loading <ul><li>Everyone know this, but do you use it efficiently? </li></ul><ul><li>Modification 1 </li></ul><ul><li>Modification 2 </li></ul><ul><li>… </li></ul><ul><li>Modification N </li></ul>
  9. 9. User’s illusions <ul><li>Same speed, different user experience, why? </li></ul>
  10. 10. Questions? @teamskunkworks, @tvtb #barcampsaigon #skunkworksvn

×