Using ADB through WIFI for Android Development

Most of the time, I use emulator for android development. But, using emulator can eat my memory and slowing down my development. Doesn’t help that the fact that Android Studio also take most of my desktop resource.

Real device deployment is way to go. But, sometimes dealing with USB cable is not pleasant experience. So, the solution is using WiFi to connect with my device.

First, connect phone to computer using USB cable. Open command prompt, type this command below to get list of connected devices.

adb devices -l

You should see your devices. Then, type this command to start adb in TCP mode. The number is port we will use in this mode. Use whatever vacant number you like.

adb tcpip 1502

Check your phone IP. Your phone and computer must be in same WiFi. Depend on your Wifi router configuration, it should be starting with 192.168.xxx.xxx. Enter this command to connect ADB to your phone with the same port number.

adb connect 192.168.100.12:1502

Again, run adb devices command to check new connected device. If all set, you can plug off your cable.

Bolderline – Brick Matching Game

Description

Bolderline is a brand new minimalist puzzle game with colorful blocks that will challenge your brain.

Your goal is to destroy the blocks in the top left area using bricks on the bottom side. You must arrange the bricks with the same color to match the shape of the block and then connect them to destroy it!

Platform : Android, HTML5

Released : 2018

Role

I programmed a whole game from gameplay, UI, testing, level design, and integration to google play & kongregate.

I used Urho3D as game engine with angelscript as gameplay programming language & C/C++ as engine programming language.

I also integrated android version to Google Play Service with Android Studio using mixed code from C & Java(JNI).

Technology

  • Urho3D (Game Engine with Angelscript & C/C++)
  • Android Studio (Android Integration with Java & C)
  • HTML5 with Emscripten (C++ & Javascript)