title: Android | binding to an isolated process?
body: <p>I have defined a service as follows:</p>
  
  <pre><code>&lt;service
          android:name=".com.service.isolatedService"
          android:enabled="true"
          android:process=":specialProcess"
          android:isolatedProcess="true"
          android:exported="false" /&gt;
  </code></pre>
  
  <p>and when i am trying to bind to this service from my application, i'm getting:</p>
  
  <pre><code>ClassNotFoundException: com.Application.MainApplication
  </code></pre>
  
  <p>when com.Application.MainApplication is:</p>
  
  <pre><code>public class MainApplication extends Application {
      @Override
      public void onCreate() {
          super.onCreate();
  
          RealmConfiguration config = new RealmConfiguration.Builder(this).build();
          Realm.setDefaultConfiguration(config);
  
      }
  }
  </code></pre>
  
  <p>I am getting this error when i'm calling this:</p>
  
  <pre><code>Intent i = new Intent(this, isolatedService.class);
  bindService(i, mConnection, BIND_AUTO_CREATE);
  </code></pre>
  
  <p>What am i doing wrong? can't we bind to a process that is isolated?</p>
  
  <p>Is there any other way to run some code in a no permission enviroment?</p>