locked
CE6 to CE7 Navigator platform Javascript RRS feed

  • Question

  • Hello All

    i work on Mobile device, who use Windows CE6 and CE7 (with barcode scanner).

    The application (for inventory) was write for WCE6, and work very well untill we upgrade hardware to CE7.

    My problem is :

    The application use a javascript to detect the hardware of the device , with the following code :

    <SCRIPT language=javascript>
       document.write(navigator.platform);
    </SCRIPT>

    If the platform is equal to WinCE, one sound is played.

    CE6 see as navigator "WinCE", until CE7 see "Win32"

    Is it a way to change this internet explorer setting ?

    i see this post : https://blogs.msdn.microsoft.com/windows-embedded/2012/06/11/maximizing-internet-explorer-in-windows-embedded-compact-7/ , but that not match with the value, the user agent in registry was not the same returned by a javascript

    We can not change anything on  Web page

    Thank for your help!

    Monday, January 16, 2017 3:03 PM

All replies

  • Hello,

    You should reach out to the manufacturer of your device as they may be the only entity that can change that string.  If you are the OEM of the device then you should use the registry tool to find where that string is defined and change it there.

    Sincerely,

    IoTGirl

    Wednesday, January 18, 2017 11:32 PM