Hi,

I'm still chasing the idea of a multi-language device identification
implementation that uses the exact same data files and gives the exact
same results on various platforms.

Reza, do you think dClass [1] [2] would be a good candidate for that?

As it's written in C, the PHP variant might just need a wrapper.

A JNI wrapper for Java is already available, but for my use cases I'd
prefer a real Java version which would require porting. The C code is
not huge, but we'll need to check for any constructs that might be
problematic in Java.

We can test 100% of the results by comparing to the C implementation,
so validating the various implementations would probably be easier
than using different algorithms in different languages.

WDYT?

-Bertrand

[1] https://github.com/TheWeatherChannel/dClass
[2] http://www.rezsoft.org/device_detection/

Reply via email to