Recently, pretty much every place relating to mobile devices have been complaining about this recent research by Microsoft claiming that Android users who have apps with adverts have battery issues. Well, it’s not difficult to solve all of them. So, if you’re from Google and want to battle what Microsoft are saying, take my advice on board!
- Don’t use Webkit. You don’t need it.
Most developers will use Webkit to try and save time, but it uses too many resources and many handsets/tablets actually have buggy versions of Webkit. A layout would look more professional and faster to operate.
- Download multiple adverts at a time
Cache them on disk. Simple, batch download a load of them, it’s not very difficult plus it means you can serve ads even when there is no internet connection
- Properly cache location
Just fetch it once a week or something, I’m hardly going to move somewhere in that time. If I’m on holiday, then I’m not really bothered about adverts for locals
- Centralize on the OS
Android was meant to let applications communicate. Do we see this much these days? Not really, and don’t call using the Share Intent “communicating” because it isn’t .We can’t even access our data in the GMail app anymore.
Google should integrate a centralized part for the adverts to run, inside the GApps so that all of the work is done once for the device and not per application.
I’m sure if they followed all of these suggestions, adverts would not only be a lot nicer on mobile, but also less sucky on battery.