billycao/Wi-Mote — comment on commit daf65d12445e55a77e9d0051512cd213d8fad62e
File: android/src/com/because/wimote/WiMoteUtil.java line 60
By james-h:

@billycao I was anticipating that activity might be used many times throughout this class. So I thought it would be best to store it in a private member variable so that it can be readily used. Right now, as you can see, activity is used by PreferenceManager.getDefaultSharedPreferences() as well as WiMoteUtil.processKeys().