ADB over WiFi

A few days ago, I built a device holder to place as many devices as possible on my desk without losing my sanity (

One more step in that direction is solving the charging issue:

N devices, with turned on screen, wifi and gsm data vs Powered USB Hub

Poor USB Hub cannot win against a Nexus 10: that thing sucks more energy than a black hole.

My solution is a plethora of USB chargers and WiFi ADB connection. We just need Android SDK and its ADB. First thing: list the devices

adb devices -l

List of devices attached

With the device list, we can now operate on any particular device. We need to setup the connection port first:

adb -s DEVICE_ID tcpip 5555

Setting up the port

Once the port is properly configured, we can connect to the device. We need to know the device current IP address and we can find it in:

Settings -> Wi-Fi -> Advanced (in toolbar menu)

We can now connect to the device like this:

adb -s DEVICE_ID connect DEVICE_IP


Ready to go! Fire up Android Studio and run your app.

WiFi connected device


If you want to go back to USB ADB, you can reboot your device or use:

adb usb

2015: my quantum leap

First week of 2016, lots to do, but what about 2015?

I’m still working remotely and this helped a lot from a logistic point of view: I relocated in France with my fiancee.


I started this blog and I’m putting a fair amount of energy into it, but the most important event is definitely the publication of my first book: RxJava Essentials ( It was a big achievement for me. I’m very fond of the reactive approach and I have spent 2013 and 2014 talking to people, trying to help them overcoming their “fear” of this paradigm. But it was just “talking”. When Packt Publishing gave me the opportunity to “write” about Rx in a very similar way I was “talking” about Rx, I jumped on it.


I was very focused on the book and I completely missed the deadline for Droidcon Turin in April. I didn’t want to lose the chance to challenge myself and I arranged a quick barcamp session when I was there. First time talking to an unknown crowd: my “lizard-people-person” instinct kicked in and they almost had to put me down after one hour talking and showing code.

In June, I had my first Droidcon talk in Berlin:

I was super nervous, there were tons of people and when the staff started to add even more chairs for the audience… I almost freaked out! The talk went well, people enjoyed it and I had lots of feedback. I can proudly say that’s the most popular DroidconDE video, so far.

In November, I had my first Devoxx talk in Antwerp. Great experience! I wrote a post about it and you can check it out here:

In December, I was in Krakow for my talk at the Droidcon, back in Poland after ten years. You can read my report here:

Conference after conference, I thought I would be less nervous. Not really. You are surely more confident, but you are still nervous, because you want to share knowledge, because you don’t want to disappoint people, because you care!


Well, the journey continues: more code, more books, more talks, more friends. See you there 😉

Back in Krakow for the Droidcon

After almost ten years, I was in Poland again last week. Ten years ago I was an Erasmus student; last week I was a speaker at Droidcon Krakow!

The venue

Every Droidcon feels like a family reunion to me, but the funny part is that the family is continuously growing in size, every time we meet.

Droidcon Krakow venue was a hotel and turns out that’s just brilliant: everything is already there, organised, comfortable. The food was really good and those “always-on” buffets were delicious. I stayed in the same hotel and this made the logistics as smooth as possible.

The tech stuff

Talks and speakers were awesome. I met a few friends from my first Droidcon in Berlin and tons of new nerds, curious and ready to learn and share .

Chatting with people and attending the talks, I noticed a few strong trends:

  • Reactive Programming is growing on the community. Both talks, mine and Sasa Sekulic‘s were sold out. There is definitely less fear and more desire to evolve.

  • Testing is easier now and higher code quality is the final goal for a lot of developers, no matter what; developers cannot stand anymore to work on badly designed, untestable apps.
  • Kotlin could be the next big thing, but everybody is very skeptical about Google officially supporting it; we all hope that at some point, everybody will realise that Java 1.6 is “obsolete” for 2016 mobile development.

  • Nobody is using G+. Apparently, everybody is using Twitter, even in the Android ecosystem.


My slides, both Keynote and PDF format, and the example source code are here:


I definitely enjoyed Droidcon Krakow and I’m looking forward to the next year.

My first Devoxx

Last Sunday my first Devoxx journey began, when I landed in the cute Antwerp. First thing in the morning: taxi to the Kinepolis Event Center. 5 minutes in the queue and I had my Devoxx badge!

My talk about RxJava was at 18:05, so I had plenty of time to attend other talks and meet new people. However, the first thing I wanted to do was to explore the venue and check out the rooms. I was like:

When they said “Kinepolis”, I didn’t really catch the

“Yep, it’s an actual cinema, man!”

thing. The stages were huge and they were not “flat”. You had this massive “wall of people” looking at you, with this gargantuan screen behind you. Surely this last detail cleared my doubts:

I wonder if my fonts are large enough :-/

The day passed quickly, indeed. I learned about Docker and Kubernetes from Arun Gupta and attended a comparative talk by José Paumard (@JosePaumard) about RxJava and Java8 Streams.

Time for my talk!

The talk was only 30 minutes, but they were very intense. The stage and the setup was super-cool! Turned out that the huge screen was more empowering than scaring!
I had a couple of tricky questions and a lot of feedback, both offline and online:


Devoxx was a great experience. I would have liked to be there for the whole week, but, even if it was only for a few hours, I loved the atmosphere, the people and the possibilities.

I met new friends:

I met old friends:


I want to thank the whole staff at for the organization, for the on-stage support and for the speed to release the video of my talk. I mean, they did it in less than 48 hours! That’s impressive!

My slides are available here

Be water, my friend!