Is there a reason why these need to be an Activity context and not just a regular Context? Only thing I see after a little digging is SharedPreferences access etc. If you just take a more-generic Context instead, you could support Services etc.