Slide 158
Slide 158 text
Pyjnius Problems
• Can’t override Java classes (only
interfaces)
• Have to write a lot of code in Java still
• Implementing methods is very rough
• Android API very Java-like
Saturday, 10 August 13
First up, you can’t override a Java class. You can only implement interfaces. In any
case where you need to override a class, you’ll still need to write Java code at the
moment.
Also, where you implement Java interfaces, you still need to provide raw JNI
signatures, which are ugly strings describing the arguments and return type.
Finally, the API is very idiomatic Java. Even with a working API, the framework will feel
verbose.