[Ovmsdev] Android App Java→Kotlin migration

Michael Balzer dexter at expeedo.de
Sat Mar 2 15:49:03 HKT 2024


Everyone,

for those not following the Android repository updates: thanks to the 
great help & efforts of Franco Sabadini (https://github.com/francos, not 
sure if he's also subscribed here), the Android App is now heading 
towards a full migration from Java to Kotlin.

This is currently done in the dedicated "migrate-kotlin" branch, but 
"master" is now frozen until this is finished & merged, as Java changes 
cannot be merged into Kotlin automatically. So, for any new submissions, 
please base your code on the "migrate-kotlin" branch until further notice.

To test the current Kotlin state, please install the latest build from 
the "migrate-kotlin" branch:

  * https://github.com/openvehicles/Open-Vehicle-Android/tree/migrate-kotlin/latest

For those not familiar with Kotlin: it's basically a clean Java concept 
reimplementation, very similar but more readable & versatile. It's 
compiled into Java VM byte code using the same ABIs, so coexists & 
cooperates with Java classes in the same application. That's also the 
current state of the implementation, Franco has reworked the core 
classes, the UI classes are still Java.

Please leave feedback on any issues you might find here:

  * https://github.com/openvehicles/Open-Vehicle-Android/issues/150

Regards,
Michael

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240302/a431faab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240302/a431faab/attachment.sig>


More information about the OvmsDev mailing list