Rusty Well-Known Member Licensed User Longtime User Dec 12, 2013 #1 In one of the posts on AudioRecorderapp (library Audio 1.5), it is suggested that the recorder function occur within a service. Is there sample code for this service? If not, how does one create the service, given the app has a UI? Thanks Rusty
In one of the posts on AudioRecorderapp (library Audio 1.5), it is suggested that the recorder function occur within a service. Is there sample code for this service? If not, how does one create the service, given the app has a UI? Thanks Rusty
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2013 #2 Not sure which post you are referring to. I actually think that it is better to handle it with an activity. Upvote 0
Not sure which post you are referring to. I actually think that it is better to handle it with an activity.
Rusty Well-Known Member Licensed User Longtime User Dec 13, 2013 #3 I have tried to use an Activity as well as I've tried to put it "in-line" in the MAIN. The problem I'm having is the Audiorecorder starts and immediately my main layout shows back up and the audiorecorder is running "behind" the main application UI. Is there a way to handle the Audiorecorder as a view; place it on a panel; or in any other way allow it to become "modal"? Thanks Erel, Rusty Upvote 0
I have tried to use an Activity as well as I've tried to put it "in-line" in the MAIN. The problem I'm having is the Audiorecorder starts and immediately my main layout shows back up and the audiorecorder is running "behind" the main application UI. Is there a way to handle the Audiorecorder as a view; place it on a panel; or in any other way allow it to become "modal"? Thanks Erel, Rusty
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2013 #4 AudioRecorder is not a "visual element". You cannot add it to the layout. What are you trying to implement? Upvote 0
AudioRecorder is not a "visual element". You cannot add it to the layout. What are you trying to implement?
Rusty Well-Known Member Licensed User Longtime User Dec 15, 2013 #5 Thanks Erel. In simple terms, I'm trying to implement a layout with "record audio" and "record video" buttons. When the user touches one of the buttons, the application should show the recorder; allow them to touch the record icon; speak (or video); then touch the stop icon; finish the completed event (save the file); return to the app UI. Is this possible with this library? (I think the audio quality/volume etc. is excellent using this library and I will be using (audio) for TTS) Rusty Upvote 0
Thanks Erel. In simple terms, I'm trying to implement a layout with "record audio" and "record video" buttons. When the user touches one of the buttons, the application should show the recorder; allow them to touch the record icon; speak (or video); then touch the stop icon; finish the completed event (save the file); return to the app UI. Is this possible with this library? (I think the audio quality/volume etc. is excellent using this library and I will be using (audio) for TTS) Rusty
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2013 #6 Recording audio should be quite simple. Have you seen the example here: Audio library v1.5 - New AudioStreamer object ? Upvote 0
Recording audio should be quite simple. Have you seen the example here: Audio library v1.5 - New AudioStreamer object ?
Rusty Well-Known Member Licensed User Longtime User Dec 15, 2013 #7 Yes, I did. I guess I should have explained further that I need to save the audio/video to a file. I also like the UI from the audiorecorderapp and videorecorderapp. Any advice? Rusty Upvote 0
Yes, I did. I guess I should have explained further that I need to save the audio/video to a file. I also like the UI from the audiorecorderapp and videorecorderapp. Any advice? Rusty
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2013 #8 Ok. See the example here: http://www.b4x.com/android/help/audio.html#audiorecordapp Upvote 0
Rusty Well-Known Member Licensed User Longtime User Dec 16, 2013 #9 Thanks Erel, I was using that example. I had incorporated it into my main application, but failed to manage my Kiosk function so it was repetitively restarting the recorder activity. Thank you again for all your great help...even for those of us that don't seem to have all cylinders firing Rusty Upvote 0
Thanks Erel, I was using that example. I had incorporated it into my main application, but failed to manage my Kiosk function so it was repetitively restarting the recorder activity. Thank you again for all your great help...even for those of us that don't seem to have all cylinders firing Rusty