Android Dev: Linting

In order to suppress linting warnings that do not make sense, one can use the @SuppressLint decorator.  In order to know which warning string to use, here is a quick time.  Thank you StackOverflow Tonys-MacBook-Air:tools tonytam$ pwd /Users/tonytam/Library/Android/sdk/tools Tonys-MacBook-Air:tools tonytam$ !. ./bin/lint –list | grep -i used “UnusedAttribute”: Attribute unused on older versions “UnsafeDynamicallyLoadedCode”: load […]

Read More…

Debugging Android Auto As A Developer

In order to debug Android Auto cd ~/Library/Android/sdk ./platform-tools/adb forward tcp:5277 tcp:5277 ./extras/google/auto/desktop-head-unit On your phone/emulator, turn on debugging then in Android Auto Settings -> Start head unit server Reference: Setup for Android Autos – https://developer.android.com/training/cars/media Setup your testing environment – https://developer.android.com/training/cars/testing See Tony’s PR contribution to AntennaPod

Read More…

Design and building Android wear app with my daughter

On Oct 5th, my co-worker Ollie R. and I were chatting during breakfast and he was showing me his Android Wear watch. When he told me that developing for wearable devices is pretty new and something worth getting into, I went to Amazon the next day and bought a refurbished 2014 Moto 360 for $112 […]

Read More…