Creating an Android App for beginners — Part I

Elifoot team view (took from http://marmota.org/elifoot98/jogar.php)
Game is happening!
  1. You could simply embed all the data you need into your app package (.apk file). However that quickly grows out of control, as you'd have a 500Mb+ file for users to download in order to install your app. Also, what if you need to add more players or update their information? Now you need an app update in order to do it. On the other hand, the nice thing about this is that your app doesn't require internet in order to work, everything you need is already available in the device! In fact I considered that option, but after looking at how many players there were (over 16 thousand) and all the images associated with each player (headshots), it quicky became clear that it wasn't the best option.
  2. Another simple option would be to consume the EA Sports FUT JSON API directly. At first that doesn't sound like a bad idea, but what if they have an outage and stay offline for hours or days? What if their JSON format changes or they simply decide to block you? All of a sudden your app stops working and there's nothing you can do about it.

In order to provide a solid service, you need to own your data.

--

--

--

Brazilian, Gaúcho and Software Engineer at Stripe

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Felipe Lima

Felipe Lima

Brazilian, Gaúcho and Software Engineer at Stripe

More from Medium

Day97 of #100DaysOfCode

Day71 of #100DaysOfCode

Day75 of #100DaysOfCode

Day45 of #100DaysOfCode