Hi Alex
I have a working Android port of JScoreComponent with some missing
features (and a few which I added for my own use) which is based on an
earlier version of abc4j. It relies on a graphics compatibility
library (
code.google.com/p/awt-android-compat).
JScoreComponent.writeTo() isn't supported but would be quite easy to
add I think.
I'm happy to send you a tar file of the source if that's any help.
Performance of abc4j on Android was quite poor even after a fair
degree of optimisation. My application had an interactive text editor
(modify text of abc and its score is updated) which was just about
bearable to use on small melodies (it worked by reparsing and
redrawing the entire score whenever the text changed). Having said
that, my target hardware was a G1 which is possibly the slowest
Android phone in existence!
The port is based on abc4j's hand-made abc parser which has now been
replaced by the parboiled parser. Sergey Yershov started an Android
port based on the current version of abc4j (which adopted the
Parboiled parser) but reported it was very slow and ultimately not
suitable for the application he had in mind. I was already working on
my port and didn't want to reintegrate to try the latest codebase
(bleeding-edge at that time) so I haven't tried the more recent trunk
of abc4j.
There is another Java codebase for ABC. Its object model is quite
rudimentary compared to abc4j and the parser is less forgiving but it
does seem much faster. Depending on your application it might be
preferable to port abcj to Android.
http://abcj.ganderband.com
Regards
Gary
> --
> You received this message because you are subscribed to the Google Groups
> "abc4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
abc4j+un...@googlegroups.com.
> To post to this group, send email to
ab...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/abc4j?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>