Hello,
I am trying to write a program in android that does a lot of string and xml parsing.
I need suggestion of which way to go :
Use JNI and implement parsing in C++ and use C++ xml SAX parsing (Android - NDk)
Go with java and parse xml with SAX
Hello,
I am trying to write a program in android that does a lot of string and xml parsing.
I need suggestion of which way to go :
Use JNI and implement parsing in C++ and use C++ xml SAX parsing (Android - NDk)
Go with java and parse xml with SAX
I would suggest option 2.
It may not be worth it to go with the complexity of NDK just for the parsing purpose.
Have you considered a server-side component that could do the majority of the parsing, which then sends a stream to devices that is significantly easier for the device to parse? You could present a web interface in addition to a mobile interface. It would be easier to setup subscriptions for which you could charge a fee if you someday decided to.