title: Google Glass Live Card not inserting
body: <p>Glass GDK here.  Trying to insert a livecard using remote views from service.  I'm launching service via voice invocation.  The voice command works, however it appears my service is not starting(no entries in log).  Service is in android manifest.  Below is code:</p>
  
  <pre><code>public class PatientLiveCardService extends Service {
  
  private static final String LIVE_CARD_ID = "timer";
  
  
  @Override
  public void onCreate() {
      Log.warn("oncreate");
      super.onCreate();
  }
  
  @Override
  public IBinder onBind(Intent intent) {
      return null;
  }
  
  @Override
  public int onStartCommand(Intent intent, int flags, int startId) {
      publishCard(this);
  
      return START_STICKY;
  }
  
  @Override
  public void onDestroy() {
      unpublishCard(this);
      super.onDestroy();
  }
  
  
  
  private void publishCard(Context context) {
      Log.info("inserting live card");
      if (mLiveCard == null) {
          String cardId = "my_card";
          TimelineManager tm = TimelineManager.from(context);
          mLiveCard = tm.getLiveCard(cardId);
  
          mLiveCard.setViews(new RemoteViews(context.getPackageName(),
                  R.layout.activity_vitals));
          Intent intent = new Intent(context, MyActivity.class);
          mLiveCard.setAction(PendingIntent
                  .getActivity(context, 0, intent, 0));
          mLiveCard.publish();
      } else {
          // Card is already published.
          return;
      }
  }
  
  private void unpublishCard(Context context) {
      if (mLiveCard != null) {
          mLiveCard.unpublish();
          mLiveCard = null;
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Here is AndroidManifest.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="15"
      android:targetSdkVersion="15" /&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET" &gt;
  &lt;/uses-permission&gt;
  &lt;uses-permission android:name="android.permission.RECORD_AUDIO" &gt;
  &lt;/uses-permission&gt;
  
  &lt;application
      android:name="com.myApp"
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
        &lt;activity
          android:name="com.myApp.MyActivity"
          android:label="@string/app_name"
          android:screenOrientation="landscape" &gt;
      &lt;/activity&gt;
  
      &lt;service android:name="com.myApp.services.MyService" 
           android:enabled="true"
           android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.android.glass.action.VOICE_TRIGGER" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="com.google.android.glass.VoiceTrigger"
              android:resource="@xml/voice_trigger_get_patient" /&gt;
      &lt;/service&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>