1. Michael Hartnett
  2. PowerServer Mobile (Obsolete)
  3. Monday, 20 April 2020 14:08 PM UTC

Hi All,

Is it possible to record audio on mobile devices with Appeon Mobile (PB 2017 R3)?

I recall at some point in the distant past that an object called eon_mobile_recorderex existed that allowed you to record audio on mobile devices.  The same object could be used to playback the audio by browsing the devices recordings.

Does such an object or method exist anymore?

From what I can see the current eon_mobile_audioex object only allows playback of pre-existing audio.

Any help or advice would be greatly appreciated.

Michael

Michael Hartnett Accepted Answer Pending Moderation
  1. Tuesday, 21 April 2020 19:30 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Chris,

Thanks for the reply.  I did a bit more digging and surmised as much, but glad of your confirmation.

I am trying to understand the Cordova/Javascript implementation as it is not something we have done before, so will be interesting to see if I can get it working.

If anybody did have a working example using the 'cordova-plugin-media-capture' plugin, it would be a great help.

Best Regards

Michael

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 21 April 2020 19:16 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

Hi Michael;

  I think that the "eon_mobile_recorderex" object class was an enhancement request a while back. Yes, you can only playback recordings, music, etc wave files via the current "eon_mobile_audioex" class.

  However, you could use a Cordova plug-in for this functionality.

For example:  https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media-capture/

  Unfortunately, this specific feature is not mapped in the Appeon_Cordova.PBL that comes with PowerServer. Instead, you would need to download this (or similar object) from the plug-in's download URL. Then use "Solution #2) as described in the PS Help to implement this control. In the 2nd solution, you would be required to access the plug-in's properties and methods by writing your own jScript and executing this via the "ExecJavaScript" method provided in PowerScript.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.