+
+ // Setup Spades game and cards view
+ this.game = new Spades(PreferenceManager
+ .getDefaultSharedPreferences(this)
+ .getString("pref_referee", "rhawk"));
+ this.cards = new Cards(this);
+
+ this.game.cards = this.cards;
+ this.cards.game = this.game;
+
+ this.spades.addView(cards);
+
+ // Attach to background service
+ this.register();
+