Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java to AIDL utility

Tags:

android

aidl

I have an existing Java interface I'd like to expose via AIDL. Is there a way to auto generate the AIDL from the Java?

I am aware of Java2IDL for Corba code, so this would be something similar to that.

like image 703
TazMainiac Avatar asked Mar 07 '26 17:03

TazMainiac


1 Answers

I think it's hard to do it this way as both Java and AIDL are different languages. Also, it might happen that you are sending and receiving user defined types through AIDL interfaces and that requires additional handling in AIDL. You need to create a separate AIDL file for each parsable type.

like image 148
Guruji Avatar answered Mar 09 '26 08:03

Guruji



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!