Smaller APKs with Classy Shark

A big thanks to my friend Enrique López Mañas for giving me feedback on how to improve this post, and of course Boris Farber for creating Classy Shark. App Size An app I am working on feels a lot larger than it should be, my hunch that this is due to dependencies that are being included in the APK that …

Who’s There

Ingredients: Android Device with cameras and internet access and accelerometer Android Device with internet access Webserver for storing pictures Free Urban Airship Account Google Account (for using Google Cloud Messaging for Urban Airship) Wifi Something to attach the android device to the peep hole Problem: When I’m at home I’m usually in the living room. Due to the odd shape …

ViewServer

So the other day I was working on a project. I looked at the xml and thought that it could use some refactoring. I went to use the hierarchyviewer in the android sdk. Unfortunately the tool wasn’t working with my phone. Turns out that it doesn’t work with production phones! You need root for it to work. Fortunately there is …

Copying Intent Data

There is some confusion from an earlier tutorial I wrote about using urban airships push notifications. On one of the steps I have a function call to copyIntentData. This is a method I wrote. I glossed over it because I was focusing on urban airship configuration and felt that this topic fell outside the scope of tutorial. I have had …