web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help: Microphone Contr...
Power Apps
Answered

Help: Microphone Control on mobile devices

(0) ShareShare
ReportReport
Posted on by

have a question regarding PowerApps and the Microphone Control on mobile devices.

 

-Purpose is to attach the recording from a mobile device to a SharePoint item.

 

-The Issue

When recording on PC I get the base 64 data, and the solution works.

Example: "Datastream": "data:audio/webm;base64,GkXfo59ChoEBQve....................." (Very long string)

 

When recording on a mobile device I get the reference of a temp file, which stores the recording (I hope).

Example: "Datastream": "TempFiles/microphone-audio8789721259407601352.3gp"

 

-The Logic

The Microphone Control

OnStop Property:

Set(varTmpJson,{Title:Text(ThisItem.Title & " " & Now()),Datastream:micRecord.Audio});

UploadMicCapture.Run(ThisItem.ID,JSON(varTmpJson,JSONFormat.IncludeBinaryData));

 

In Flow

Initialize variable

String asks in PowerApps, which returns the variable defined above

I compose the initialized variable: json(variables('b64Audio'))

Parses JSON from the Output

And at the end i Add attachment to SharePoint item

dataUriToBinary(body('Parse_JSON')?['Datastream'])

 

-Finally the question

Have any of you had any luck attaching the audio file using the Microphone control on a mobile device?

Categories:
I have the same question (0)
  • Verified answer
    a-ovbord Profile Picture
    on at

    Hi @mvingaard,

     

    It's normal that the audio is stored in 3gp format on the mobile device, it's mentioned on the documentation here.

    Can you check this post here and see if t helps solving your issue with saving the file?

     

    Thank you,

    Ovidiu

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard