Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e40c4636 authored by Scott Main's avatar Scott Main
Browse files

docs: move AIDL doc under Services in api guides.

Change-Id: I525de97958e2093af15cce2b007ec022cb315a71
parent dbbfa702
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -170,7 +170,7 @@ can then extend within your service.</p>
create a bound service, because it may require multithreading capabilities and
create a bound service, because it may require multithreading capabilities and
can result in a more complicated implementation. As such, AIDL is not suitable for most applications
can result in a more complicated implementation. As such, AIDL is not suitable for most applications
and this document does not discuss how to use it for your service. If you're certain that you need
and this document does not discuss how to use it for your service. If you're certain that you need
to use AIDL directly, see the <a href="{@docRoot}tools/aidl.html">AIDL</a>
to use AIDL directly, see the <a href="{@docRoot}guide/components/aidl.html">AIDL</a>
document.</p>
document.</p>




@@ -341,7 +341,7 @@ service, which must then handle multi-threading.</p>
  <p>For most applications, the service doesn't need to perform multi-threading, so using a {@link
  <p>For most applications, the service doesn't need to perform multi-threading, so using a {@link
android.os.Messenger} allows the service to handle one call at a time. If it's important
android.os.Messenger} allows the service to handle one call at a time. If it's important
that your service be multi-threaded, then you should use <a
that your service be multi-threaded, then you should use <a
href="{@docRoot}tools/aidl.html">AIDL</a> to define your interface.</p>
href="{@docRoot}guide/components/aidl.html">AIDL</a> to define your interface.</p>
</div>
</div>
</div>
</div>


+1 −1
Original line number Original line Diff line number Diff line
@@ -154,7 +154,7 @@ messaging that takes place between your application and the Google Play applicat
<p>Your application sends in-app billing requests by invoking a single IPC method
<p>Your application sends in-app billing requests by invoking a single IPC method
(<code>sendBillingRequest()</code>), which is exposed by the <code>MarketBillingService</code>
(<code>sendBillingRequest()</code>), which is exposed by the <code>MarketBillingService</code>
interface. This interface is defined in an <a
interface. This interface is defined in an <a
href="{@docRoot}tools/aidl.html">Android Interface Definition Language</a> file
href="{@docRoot}guide/components/aidl.html">Android Interface Definition Language</a> file
(<code>IMarketBillingService.aidl</code>). You can <a
(<code>IMarketBillingService.aidl</code>). You can <a
href="{@docRoot}guide/google/play/billing/billing_integrate.html#billing-download">download</a> this AIDL
href="{@docRoot}guide/google/play/billing/billing_integrate.html#billing-download">download</a> this AIDL
file with the in-app billing sample application.</p>
file with the in-app billing sample application.</p>
+3 −0
Original line number Original line Diff line number Diff line
@@ -41,6 +41,9 @@
          <li><a href="<?cs var:toroot ?>guide/components/bound-services.html">
          <li><a href="<?cs var:toroot ?>guide/components/bound-services.html">
              <span class="en">Bound Services</span>
              <span class="en">Bound Services</span>
            </a></li>
            </a></li>
          <li><a href="<?cs var:toroot ?>guide/components/aidl.html">
              <span class="en">AIDL</span>
            </a></li>
        </ul>
        </ul>
      </li>
      </li>
      <li class="nav-section">
      <li class="nav-section">
+2 −2
Original line number Original line Diff line number Diff line
@@ -526,7 +526,7 @@ RPC インターフェースに含めることができるのはメソッドの
</p>
</p>


<p>
<p>
このメカニズムを簡単に説明すると次のようになります。まず、シンプルなインターフェース定義言語(IDL)を使用して、実装したい RPC インターフェースを宣言します。<code><a href="{@docRoot}tools/aidl.html">aidl</a></code> ツールにより、RPC インターフェースの宣言から Java インターフェース定義が生成されます。この定義は、ローカルとリモートの両方のプロセスで使用する必要があります。定義には、次の図に示すように 2 つの内部クラスが含まれています:
このメカニズムを簡単に説明すると次のようになります。まず、シンプルなインターフェース定義言語(IDL)を使用して、実装したい RPC インターフェースを宣言します。<code><a href="{@docRoot}guide/components/aidl.html">aidl</a></code> ツールにより、RPC インターフェースの宣言から Java インターフェース定義が生成されます。この定義は、ローカルとリモートの両方のプロセスで使用する必要があります。定義には、次の図に示すように 2 つの内部クラスが含まれています:
</p>
</p>


<p style="margin-left: 2em">
<p style="margin-left: 2em">
@@ -560,7 +560,7 @@ onServiceDisconnected()}</code> メソッドが実装されているため、リ
</ul>
</ul>


<p>
<p>
ここでは、説明を簡単にするため、RPC メカニズムの細かい点は省略しています。詳しくは、<a href="{@docRoot}tools/aidl.html">Designing a Remote Interface Using AIDL</a>、および {@link android.os.IBinder IBinder} クラスの説明をご覧ください。
ここでは、説明を簡単にするため、RPC メカニズムの細かい点は省略しています。詳しくは、<a href="{@docRoot}guide/components/aidl.html">Designing a Remote Interface Using AIDL</a>、および {@link android.os.IBinder IBinder} クラスの説明をご覧ください。
</p>  
</p>  




Loading