0 Replies Latest reply on Mar 29, 2016 6:51 AM by GREG BONEBRAKE

    Playing audio on latest WT41N0, RhoElements 2.2.1.13, generic.PlayWave

    GREG BONEBRAKE

      We have an existing application being accessed via RhoElements 2.2.1.13 on several models of Symbol mobile computers (MC3190, MC9190, WT41N0).  We just received a new batch of WT41N0 devices and on these we cannot get wav files to play.  We were using generic.PlayWave() previously, which has always been fine.  On these new devices, JavaScript execution stops after the PlayWave() method is called.

       

      I've been trying everything I can think of as a workaround -

       

      1. var gen = new ActiveXObject("PocketBrowser.Generic"); gen.PlayWave() ; - This also stops execution with no error
      2. mediaPlayer.start, using both a URL and a File reference fail to play audio, JavaScript execution stops.

       

      I've checked the rholog in the Application folder where RhoElements is installed.  I am receiving a message "ReferenceError: Can't find variable: generic.  We have defined <PreloadLegacyGeneric value="1"/> in our config file.  It seems this is not working to allow access to the generic object.

       

      Any help would be appreciated.

       

      Thank you -


      Greg