JNI vs. Java re-write discussion
Posted: Mon Sep 03, 2012 11:03 am
split from this discussion:
https://www.hifi-remote.com/forums/viewtopic.php?t=14213
Wow. Interesting. There are so much I would like to comment on, however, my Internet connection at home is temporarily broken (hopefully fixed on Wednesday) so I am writing this from work were I have neither my files nor very much time
RM(IR) and IR are programs for the programming of JP1 remotes, and I think it is wise to keep it that way. That is, functionallity for analyzing IR signals should prefereably go to another program, possibly a "super IRscope". I will developed this idea further, I have some concepts...
Pronto support: There is support in ExchangeIR, the original version, but not in my Java translation. The reason being that I did not like the implementation, and liked my own in IrpMaster better. Vyrolan (and others): Note that IrpMaster is (from design) intended not only as an interactive program, but as a library. Look at the Pronto class, you can likely use that to achieve what you look for. Feel free to use; the licensing is compatible.
One more thing: JNI is good for interfacing hardware interfaces (prime example jp12serial); for functions transforming numbers to other numbers (like ExchangeIR) it is sacrificing pure Java portability for no valid reason.
https://www.hifi-remote.com/forums/viewtopic.php?t=14213
Wow. Interesting. There are so much I would like to comment on, however, my Internet connection at home is temporarily broken (hopefully fixed on Wednesday) so I am writing this from work were I have neither my files nor very much time
RM(IR) and IR are programs for the programming of JP1 remotes, and I think it is wise to keep it that way. That is, functionallity for analyzing IR signals should prefereably go to another program, possibly a "super IRscope". I will developed this idea further, I have some concepts...
Pronto support: There is support in ExchangeIR, the original version, but not in my Java translation. The reason being that I did not like the implementation, and liked my own in IrpMaster better. Vyrolan (and others): Note that IrpMaster is (from design) intended not only as an interactive program, but as a library. Look at the Pronto class, you can likely use that to achieve what you look for. Feel free to use; the licensing is compatible.
One more thing: JNI is good for interfacing hardware interfaces (prime example jp12serial); for functions transforming numbers to other numbers (like ExchangeIR) it is sacrificing pure Java portability for no valid reason.