<p>No, that won't work. The Open Mobile API <em>library</em> is only an interface to the Open Mobile API service ("SmartcardService"). Thus, the library only helps your app to communicate with the service through a standardized interface (= the Open Mobile <em>API</em>). If you try to use the library on a device without the SmartcardService, the library won't be able to bind to that service and, consequently, the API calls will fail.</p>

<h3>What you can do</h3>

<ol>
<li>Starting with Android 5 (API level 21), the <a href="https://developer.android.com/reference/android/telephony/TelephonyManager.html" rel="nofollow">TelephonyManager</a> provides an API to exchange APDU commands with applications on the SIM/UICC. See <a href="https://developer.android.com/reference/android/telephony/TelephonyManager.html#iccOpenLogicalChannel%28java.lang.String%29" rel="nofollow"><code>iccOpenLogicalChannel</code></a>, <a href="https://developer.android.com/reference/android/telephony/TelephonyManager.html#iccTransmitApduBasicChannel(int,%20int,%20int,%20int,%20int,%20java.lang.String)" rel="nofollow"><code>iccTransmitApduBasicChannel</code></a>, <a href="https://developer.android.com/reference/android/telephony/TelephonyManager.html#iccTransmitApduLogicalChannel(int,%20int,%20int,%20int,%20int,%20int,%20java.lang.String)" rel="nofollow"><code>iccTransmitApduLogicalChannel</code></a>, etc. Just as with the Open Mobile API, your app would, of course, need to have the permission to access that API.</li>
<li>If there is an implementation of the SmartcardService for your device <strong>that also implements access to the SIM/UICC</strong> through the RIL, you could install that service together with the Open Mobile API library to get access to the SIM/UICC. See my report <a href="https://arxiv.org/abs/1601.03027" rel="nofollow">Open Mobile API: Accessing the UICC on Android Devices</a>.</li>
</ol>
Adding the Open Mobile API library to an Android device to get APDU-based access to the SIM
<p>I have a device without NFC. This device also does not support the Open Mobile API. I need access to the SIM applet on that device.</p>

<p>Now I wonder if I could add that functionality...If I have a copy of the Open Mobile API library, would it work if pushed that Open Mobile API library to my device through ADB? Could I then exchange APDUs with my SIM applet?</p>