Does AIDL support short type ?
http://developer.android.com/guide/developing/tools/aidl.html
It said "All primitive types in the Java programming language (such as int, long, char, boolean, and so on)"
But it seems cannot use short in AIDL.
thanks !
AIDL can be used between any process in Android: between platform components or between apps. However, it is never used as an API for apps. AIDL may be used to implement an SDK API in the platform, for instance, but the SDK API surface never contains AIDL APIs directly.
Android 10 adds support for stable Android Interface Definition Language (AIDL), a new way to keep track of the application program interface (API)/application binary interface (ABI) provided by AIDL interfaces.
An AIDL (Android Interface Definition Language) file allows Android developers to establish communication between different apps. Based on the programming interface, both the client and service agree to communicate using interprocess communicate (IPC).
I think it does not :/ so use an int and cast it back to short afterwards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With