My Talk at Google I/O Extended Yangon 2015. Something about AsyncTask alternative and how to effectively use android native component. Introducing simple pattern.
9. Story
● A mobile POS applications ( of course, it is android )
with web application backend.
● Salespeople sync product data when they arrived to
head office.
● They will make sale the whole day and save sale order
data in mobile.
● Submit sale order back to system.
10. What should we care!
● Amount of data to send
● Multiple api call or single api call
● Connection timeout
● So on ...
11. Create an IntentService with helper method
Create a method to broadcast message inside IntentService