title: Can I send custom objects to Android Wear?
body: <p>I am just learning how to develop for Android Wear, I have created a full screen Activity for Smart Watches and in my mobile part of the application I get some JSON data and create a list of custom objects from this.</p>
  
  <p>On my mobile app I show the information for these objects in a ListView.</p>
  
  <p>On the Wear piece of my application I want to show a limited version of this list, for example the top 3 from the list will be show on my full screen app on the Wearable.</p>
  
  <p>My problem is that there doesn't seem to be a way to send Parcelable Objects to Android Wear, there is no option to putParcelable in the DataItem.</p>
  
  <p>It looks like the only option is to send an object in bytes, like this:</p>
  
  <pre><code>public void sendWearableData(GoogleApiClient aGoogleApiClient, ArrayList&lt;MyObject&gt; myObjectList, String path)
  {
  
      googleApiClient = aGoogleApiClient;
  
      byte[] testBytes = new byte[0];
  
      if (googleApiClient.isConnected()) {
          PutDataMapRequest dataMapRequest = PutDataMapRequest.create(path);
          try {
              testBytes = BytesUtils.toByteArray(myObjectList);
          } catch (IOException e) {
              e.printStackTrace();
          }
          dataMapRequest.getDataMap().putByteArray(Constants.TEST_KEY, testBytes);
          PutDataRequest request = dataMapRequest.asPutDataRequest();
          Wearable.DataApi.putDataItem(googleApiClient, request);
      }
  }
  </code></pre>
  
  <p>So I have to convert my object to bytes, send it to Android Wear and convert it back? This means that my Objects which I have implemented Parcelable on so I can send them via Intents now also need to implement Serializable, is this correct or is there a better way of doing it?</p>