The Uniform and Separation of Devices

Not so long ago (maybe just several years ago), people had succeeded to unify multiple devices into one. For example, cellphone is now multi-functional and has replaced many utilities we saw in the early years. People tended to squeeze everything into a small device, and that led to the what smartphone looks like today. We don't need map anymore since there's GPS and Google Maps. Post-it turns unpopular since there are multimedia notes taking apps. There are countless things that are replaced: cameras, music stations, radios, CDs, books, flashlights, compass, and so on so forth. People literally thought a smartphone could replace everything we have in life. One recent example is ASUS's Padfone. Continue reading The Uniform and Separation of Devices

Turn on/off Theater Mode on Android Wear Programatically

The simplest way is to leverage the adb shell to run settings put global theater_mode_on.

  • settings put global theater_mode_on 1 will turn on theater mode
  • settings put global theater_mode_on 0 will turn off theater mode

And the following is the java code to turn on theater mode.

Process su = Runtime.getRuntime().exec("su");
DataOutputStream os = new DataOutputStream(su.getOutputStream());
os.writeBytes("settings put global theater_mode_on 1\n");

So we can automated the theater mode through scripts.

Notice that the total time to get it effective is about 2 seconds, and it will pop up a long toast, followed by the dark screen. The whole takes around 10 seconds. Afterwards, if ambient mode is on, the device will get into ambient mode.

TiMER2 Smart (NFC) Ring

When I went back to China, I found this little NFC ring called "TiMER 2." The ring has two colors for men and women.

TiMER2 Smart Ring Poster

The ring is very cheap - under $15 on ebay. It's claimed to be IP68 so you can wear it under water. And the ring has two NFC tags, one under the little "diamond" (webpage said "SWAROVSKI diamond" and I could hardly believe so) and the other on the opposite side. Each tag has 138 bytes storage.

I bought it for its good looking as well as its two NFC tags. Tried their app and it literally sucks. The app sucks in both functionality and user interface. If you plan to get one, just use regular NFC reader/writer app to write/read the tags. I believe on the market there are far better apps doing what the TiMER app could do (e.g., unlock screen, store name card, store data).

My MobiCom 15' Presentation

I'm busy lately - mostly focusing on my presentation at MobiCom 2015. It was my first time presenting my work as a CS PhD in such a big conference (well, in any conferences). I spent almost 3 weeks to prepare for the presentation and potential questions people might ask. The story can be very long, and I'm gonna be as brief as possible.  Continue reading My MobiCom 15' Presentation