title: EXTRA_PEER_ID undefined when developing android wear watchface using the emulator
body: <p>I'm trying to develop an Android wear watchface using a physical handheld device (for the companion app) and the emulator as watch.</p>
  
  <p>It seems that I can connect my physical device to the emulator watch just fine using <a href="http://developer.android.com/training/wearables/apps/creating.html" rel="nofollow">Google's instructions</a>, the emulator shows as connected in the Android Wear app.</p>
  
  <p>My problem is that I can't get the EXTRA_PEER_ID of the emulator from the companion app, like in the example (line 67) from the <a href="https://developer.android.com/samples/WatchFace/Application/src/com.example.android.wearable.watchface/DigitalWatchFaceCompanionConfigActivity.html" rel="nofollow">WatchFace example</a>:</p>
  
  <pre><code>    mPeerId = getIntent().getStringExtra(WatchFaceCompanion.EXTRA_PEER_ID);
  </code></pre>
  
  <p>The WatchFaceCompanion.EXTRA_PEER_ID is undefined in the setup with the emulator.</p>
  
  <p>It's working perfectly fine if I try the code with a physical handheld and a physical watch, it's only undefined if I use the emulator as the watch.</p>
  
  <p>Any idea on how to get the Peer ID with the emulator, since the ID is needed when trying to send a message from the companion activity to the watch?</p>