🤖Staff Software Engineer at Twitter. Ex-Facebook, Ex-Yahoo, Ex-AuroraLabs 🙊. Dad 👨👧. Metalhead 🤘. Gamer 🕹. Proud Valencian 🥘🇪🇸.
Robolectric tests running in Android Studio
This article describes old stuff. The support for testing in Android Studio is now good enough and this stuff probably doesn't work anymore Been playing a lot with testing lately, but one thing that bothered me a lot was the shitty hacks one has to do for being able to
Simulador Clínica Londres for iOS and Android
This is the result of my latest freelancing effort. It's an app for a very known spanish plastic surgery clinics, Clínica Londres [http://www.clinicalondres.es/] . The app itself was very fun to code, because apart from all the usual stuff like news or location, it had this section where
Society of Wine Educators for Android
An app I've been working on for some time is finally released. It is a trivia game for wine conoisseurs with a social twist. You can download it from here [https://play.google.com/store/apps/details?id=org.societyofwineeducators]. A couple of screenshots... I had a blast programming some
Radares España, SpeedCams ES
My new app is a speedcam notifier for spanish roads [https://play.google.com/store/apps/details?id=io.nlopez.speedcam.spain]. It is intented to be a base for making apps for other countries. I have called it Speedcams ES [https://play.google.com/store/apps/details?id=io.
SwipeRefreshLayout with ListView done right
Setting up a SwipeRefreshLayout is pretty easy. There are great tutorials out there [http://antonioleiva.com/swiperefreshlayout]. Even more if you already played around with other compat components like the DrawerLayout [http://developer.android.com/training/implementing-navigation/nav-drawer.html]. You just wrap your ScrollView or ListView, a few wiring here
I have created a new gem, GitHub Downloader, which does basically that: it downloads the source code from GitHub repos, packed in zip files. It's open sourced [https://github.com/mrmans0n/github-downloader], of course. You have in there the usage instructions too. I needed an script for doing that, and
Tools of choice when crafting Android apps
In this ever changing development world I wanted to take a little snapshot of which ones are my tools of choice when developing Android apps, both at work and at home. Design and prototyping Photoshop for design, all along. Though lately I've been experimenting by trying not to use it,
How to style the ActionBar SearchView programmatically
I stumbled upon a problem with the styling of a view at work. I had almost everything solved with a custom theme, but it all came down to style a SearchView widget of an ActionBar. That's where the fun begins. All of this must happen in your onCreateOptionsMenu method. With
Betrayal Helper for Android
I've been playing a lot lately to the board game Betrayal at the House on the Hill [http://boardgamegeek.com/boardgame/10547/betrayal-at-house-on-the-hill], which is awesome, and I felt I needed to release a little helper app for it - keeping the score with the analogic meter you are provided
Android Annotations @ViewById Generator plugin for Android Studio / IntelliJ IDEA
I released a little plugin this week for being used in Android Studio or IntelliJ, for being able to generate automatically the @ViewById annotations from the awesome Android Annotations [http://androidannotations.org]. You can access the menu by clicking on a layout id like R.layout.yourlayoutname, selecting Generate and
My 2013 in code
This year has been good to me, in code and in personal life. Got to improve some personal projects, did some interesting things at work, and received pretty good news. I finally got to give back, releasing some opensource projects like localio [http://github.com/mrmans0n/localio], clusterer [http://github.
Proxy for Readability's Parse API
I created this very little tiny project in Sinatra [https://github.com/mrmans0n/site-mobilizer] for being able to obscure the usage of the Readability's Parser API [https://www.readability.com/developers/api/parser] token, as suggested in their documentation. So, if you had any intention to use this, well... the
Open Sourcing stuff
I've submitted some new versions of Localio addressing bugs and adding some features (like XLSX support), but that's all in the ruby side. But being true to my roots, I've been working on some libraries lately, all of them for Android. You might want to check them out... * SmartLocation: A
In my head there has been around a lot of times the possibility of contributing to the OSS community with some gem, so here goes my first contribution there. Localio is an automatic localizable file generator. It reads a certain type of file, called Locfile, and process it so the
Is fragmentation really that much of a problem in Android?
I always read the same and never-ending articles / posts / tweets about Android's fragmentation. The same boring infographics [http://opensignal.com/reports/fragmentation.php], the same Google Play pie charts with Android version penetration, and always the same argument about how the developers are crazy about it, like if it's impossible
How to fix a broken Android Studio SDK installation
It just happened to me. If you are in a situation where your Android Studio installation doesn't recognize any Android SDK (instead of a little andy, it shows a folder with a question mark over any Android SDK configured), you just have one diagnosis: your (hidden) configuration file is corrupted.
New BikeShare! for Android
I've recently developed a brand new (rebuilt from scratch) version of BikeShare! for Android. It's been my first approach to tablet interfaces in my off work apps, and I really was thrilled to do so. The app suffered an UI overhaul, and its imagery was also redone. First, the icon.