title: How to use in a library a resource provided by the app that use the library
body: <p>I am developping an Android HCE payment SDK and I would like to include the manifest part related to the APDU service in my SDK which will be provided as an Android library (AAR) to our clients.</p>
  
  <pre><code>    &lt;!-- service --&gt;
      &lt;service
          android:name="com.mypackage.MyApduService"
          android:exported="true"
          android:permission="android.permission.BIND_NFC_SERVICE" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
          &lt;meta-data
              android:name="android.nfc.cardemulation.host_apdu_service"
              android:resource="@xml/apduservice" /&gt;
      &lt;/service&gt;
  </code></pre>
  
  <p>The problem is that the apduservice.xml cannot be defined in my library because it contains the payment service description and banner that should be customized by my clients when they build their payment app on top of my SDK.
  Is there a way to tell my library manifest to get its android.nfc.cardemulation.host_apdu_service resource not in the library but somewhere else (somewhere being provided later by the payment app developer) ?
  An other solution whould be to include the apduservice.xml in my SDK but I will have the same externalisation issue with the apduServiceBanner and description resources of this file: I will need a way to tell that these resources will be provided outside of the library by the payment app developper.</p>
  
  <p>Thanks for your answers</p>