Let’s get that cable off your desk, well sort of.

Photo by Norbert Levajsics on Unsplash

Debug over WIFI

  1. Open the terminal
  2. Run adb tcpip 5555
  3. Find the IP address
  • macOS: adb shell ip route
  • Windows: adb shell netcfg

4. Connect to your device adb connect <DEVICE_IP_ADDRESS>:5555

  • Disconnect USB and proceed with wireless debugging.

EXTRA

To switch back to USB when done: adb -s <DEVICE_IP_ADDRESS>:5555 usb

No root required.

Sources


Quick tips for making your RecyclerView & ItemDecorations play along with Window Insets.

Photo by Jakob Owens on Unsplash

Quick Intro

With the new Android Q gesture navigation and the ever growing screen real estate, it is important to have our app displayed in full screen. Besides being awesome UX to our users, it’s also important to support the framework changes/best practices. After reading about this subject I decided to implement it on the Stinto Android App.

TL;DR Want to skip to the implementation? Check The Solution section below.

The Problem

The first screen consists of an Activity with a MaterialToolbar a FloatingActionButton and a BottomNavigationView with 3 tabs (each…


Part II: What? of III (Why?, What?, When?) series — Come and say Hi! 👋 twitch.tv/joaquimley

Photo by Kal Loftus

Part II: What?

Following up on the first article, this long overdue part II will expand more on what I intend to live stream.

At the time of this writing, I still haven’t explored (at all) some interesting technologies I wish I had. As an Android developer, I get to work with an ever-evolving platform. This is both a blessing and a curse, for one, it never gets too stale, there’s always something new to learn, tinker with and…


Part I: Why? of III (Why?, What?, When?) series— Come and say Hi! 👋 twitch.tv/joaquimley

Part I: Why?

  • Part III: When? (coming up)

While some like to numbly scroll through Facebook, Instagram, insert_your_social_media_of_choice, etc., and there is nothing wrong with that, others try to squeeze every little bit of free time they can get to learn, improve, or explore something related to their passion/interests, at least most often than not.

There’s a reason why podcasts have seen a big surge in both demand and popularity.

For the latter, learning while working out, commuting, or on a awaiting room, is…


Getting that sweet com.androidx.* might not be as easy as one predicts.

no more v4-v7-v13 shenenigans

1. Hello Google I/O

You can skip to part 3. if you are aware of this year’s Android announcements.

This year’s Google I/O was quite surprising for me, I was really happy to know that the whole android team is working hard every year to make our lives as developers of the green robot easier every year.

Last year we got the first iteration of the Architecture Components, the first step into tackling some of the biggest issues we’ve had forever, lifecycle, configuration changes, persistence etc.

This year the team doubled down…


Should you buy it? 13'’ vs 15'’? Or finally switch to a Windows/Linux box?

I’m an Android developer, so this is my main usage for this machine while doing some Photography (Photoshop/Lightroom) and Film (Final Cut) on the side (currently creating content for both linked platforms).

There’s a lot of good on this version, but there’s also a lot of bad, let’s dig into the different aspects of this machine, I’ll give my thoughts and rating to these:

  • Touchbar, Touch-ID
  • Keyboard, Trackpad
  • Battery
  • Screen
  • Aesthetics & Build Quality
  • Ports
  • Performance & OS

Hopefully this helps on to decide if you should buy/choose one.

The TL;DR can be found at the end of this article.

Touchbar


Runtime permissions, BroadcastReceiver & SmsManger.

Motivation

With so many different ways to communicate (I’m 👀 at you Google Developers), one might find odd talking about integrating the old-school SMS service in your app. Truth is, besides the usual 2-step-verification and related services, there are some areas on the planet 🌍 where data is still rare and/or very expensive, so if we are to tackle the next billion, most of these new users are in emerging markets so, SMS might be a good alternative or at least something to consider.

TL;DR: Project is available on GitHub. Note & Overview👇 gives you the rest.

With relative low effort…


Room to LiveData to ViewModel to View. — How reactive ☢ are you?

Google announced some awesome tools during #io17. They’re called Architecture Components, I’m going to assume you already know the basics about each, if not you can find videos and official documentation at the end of this article.

After studying these new elements I was able to write up a simple demo project, where you can check (especially if you don’t have any prior experience) how awesome reactive programming can be.


Your project ain’t no GQ but you aren’t Brad Pitt either 😎

So you finally created your open source project, you feel really proud (and you should 👏), and now it’s time to make that repo public and start to get some feedback, you can’t wait to see other people opening issues, creating pull-requests etc. But for some reason, not even one star gazer 😕?

“Don’t judge a book by its cover” — Also applies to software projects but that doesn’t mean it can’t be pretty. …


My thoughts on a two days of awesomeness event

As I sit outside the hotel just across the Business Design Centre, where 2016 droidconUK took place, I think about the last couple of days, how much I’ve learned and the awesome people I’ve me It was my first time in London but I’m pretty sure it won’t be my last (btw, how awesome is the city’ subway system?). Let me share my thoughts and experience about droidconUK.

Hello, green droid.

After a long line and a quick check-in process, I’ve finally entered the venue. The first round of presentations had already started, so…

Joaquim Ley

I create bugs on Android for a living. Besides coding and opensource, I ❤ photography & filmmaking. www.joaquimley.com

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