title: How to best implement Two Activities sharing One Service (w. Bluetooth Connection)?
body: <p>Right now the main Activity (Act. A) starts a Service which holds the Bluetooth Connection.
  (It binds the Service)</p>
  
  <p>The Service is a modified version of <a href="http://developer.android.com/resources/samples/BluetoothChat/src/com/example/android/BluetoothChat/BluetoothChatService.html" rel="noreferrer">BluetoothChatService</a> (Android BluetoothChat Sample)...
  ... modified with an added Messenger and Handler in accordance with <a href="http://developer.android.com/reference/android/app/Service.html#RemoteMessengerServiceSample" rel="noreferrer">MessengerService</a> (Android Remote Messenger Sample)</p>
  
  <p>Activity A makes sure that the Bluetooth is connected to an external device, and later starts another activity (Act. B).</p>
  
  <p>The problem is to get the Service to keep running and serve the Bluetooth Connection to the new activity smoothly. I don't know how to:</p>
  
  <ul>
  <li><p>Make sure that the Service is not restarted or reinstanced, when it switches from activity A to B</p></li>
  <li><p>Make sure that the messenging functionality works as desired (from the currently active activity)</p></li>
  </ul>
  
  <p>Do I need to rebind the Service to the new activity, and how do I assure that the BT connection is not lost (due to other instance of Service)?
  Or do i need to pass along the Messenger object to the new activity to communicate with the alread instantiated Service. If so, how do I do that best?</p>
  
  <p>Very thankful for answers!</p>