R – How to determine the type of Windows Mobile device

compact-frameworkwindows-mobile

We have a Windows Mobile application which is currently running on Symbol (now Motorola) devices. We use the manufacturer's SDKs in order to do things like register barcode scans.

We now need to make the software work with Intermec devices.

I already have the scanning code abstracted behind an interface so all I need to do is wrap the Intermec APIs behind that interface and then load the correct version for the device in use.

However, I am having some difficulty in working out which type of device the software is running. I could just try loading the Symbol code and then when that fails try the Intermec code but that's rather rubbish.

Does anyone know how I can work out the type of device programmatically?

Best Answer

See this link. It will help you get the OEM info of the device.

Related Topic