Android Question Can audiorecorder still be used under B4A V12.80 ?

DOM85

Active Member
Licensed User
Longtime User
When i try to compile old apps (made under V5.80) with the 12.80 release, the audiorecorder library and its properties are not accepted by the compiler.
But, if i try co compile these same app with the old B4A 5.80, the apks run fine on Android 13.
Someone has a solution other than to use a different library ?
Thank you.
 

MicroDrie

Well-Known Member
Licensed User
Longtime User
Between version 5.80 and version 12.80, a lot of changes were made in both B4A and Android. Without at least the error log, nobody can help you.
 
Upvote 0

DOM85

Active Member
Licensed User
Longtime User
Between version 5.80 and version 12.80, a lot of changes were made in both B4A and Android. Without at least the error log, nobody can help you.
Here is a part of my app and its corresponding log while compiling in B4A 12.80.
This app is compiled without any error in V5.80
Erel answered me that audiorecorder library may be used in V12.80.
So, maybe i don't know something.
If you have an idea ?
Thank you

My log
======

Sub Process_Globals
Dim Enregistreur As AudioRecorder

......
......

Enregistreur.AudioSource = Enregistreur.AS_MIC
Enregistreur.OutputFormat = Enregistreur.OF_THREE_GPP
Enregistreur.AudioEncoder = Enregistreur.AE_AMR_NB

Enregistreur.setOutputFile(File.DirRootExternal,Chemin)
Enregistreur.prepare()
Enregistreur.start


PPEnr - 216: Membre inconnu : start
PPEnr - 210: Membre inconnu : prepare
PPEnr - 209: Membre inconnu : setoutputfile
PPEnr - 207: Membre inconnu : audioencoder
PPEnr - 206: Membre inconnu : outputformat
PPEnr - 205: Membre inconnu : audiosource
PPEnr - 62: Membre inconnu : initialize
.
 
Upvote 0

MicroDrie

Well-Known Member
Licensed User
Longtime User
Look I already wrote that a lot has changed. If you do a lot at once and it doesn't work, you don't know which change is the cause. With each library you usually see an example program. First start by checking if it works without problems in the old situation. If not, try to get it working first. Then you have a flawless and working program in the old situation. Then test this flawlessly working program in the new situation. If it doesn't work, you know that something is making it stumble and then it is important what the error message in the error log is. Put the full error as text in your post, stating which program you used.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Which AudioRecorder library are you using? this one or that one,it seems you are using this one in V5.8. that one in V12.8, check it which one you are using in V12.8.

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…