title: Binding a service from a different APK
body: <p>I need some help to bound a service by expending the Binder class.</p>
  
  <p>I have 2 APKs. The first one declare a service and I want to bind it from an activity of the second APK.</p>
  
  <p>Both APKs uses the same sharedUserId and the same android:process.</p>
  
  <p>Since they are running in the same process, I don't want to use AIDL for IPC communication (I already try, it's working but I don't want to use it considering I uses only one process).</p>
  
  <p>I can start / bind the service but I can't get the reference to the service : </p>
  
  <pre><code>LocalBinder binder = (LocalBinder);
  mService = binder.getService();
  </code></pre>
  
  <p>I get the exception : </p>
  
  <pre><code>E/AndroidRuntime(6145): java.lang.ClassCastException: 
  </code></pre>
  
  <p>Is it possible to bound the service by expanding the IBinder class in my case? </p>
  
  <p>Thanks</p>