Page 1 of 1

Detecting device type

PostPosted: Apr 3, 2007 @ 10:44am
by drgoldie
I need to reliably detect a device type such as MotoQ, X50v, MDA Pro, etc.

I am happy detecting only the device series not the branding. So HTC Tornado is enough (actually I'd prefer this over i-mate SP5 or O2 XDA IQ, etc.).

The problem is that using
SystemParametersInfo(SPI_GETOEMINFO, 64, &wszInfoString, 0);
is not reliable since many vendors just write crap in there. E.g. the i-mate SP5 reports "i-mate SP5", but both the Excalibur as well as the Wizard just report "HTC".

So I added screen resolution and platform (PocketPC, Smartphone) but this does also not result in reliable detection.

Any better ideas?

thanks,
Daniel

PostPosted: Jul 4, 2007 @ 3:33pm
by mm40
I'm having the same problem, on the T-Mobile Dash it reports HTC. Why the hell would they do this?

One idea I had to get around this is to look at the size or date of a specific windows DLL file, since they must compile a windows kernel for each device there must be something about it that is unique.

PostPosted: Jul 5, 2007 @ 5:03am
by Dan East