User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: ANDROID MICROPHONE Suggested fix

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    ANDROID MICROPHONE Suggested fix

    Suggested fix for Android Microphone.

    The ( LAST RECORDED ) options should be changed to ( RECORDED ).

    Current options:

    Play Last
    Pause
    Resume
    Stop

    Changed too:

    Play File = Please Enter a filename " "
    Pause
    Resume
    Stop

    This is why.

    1. The play Last feature can be implemented with ease by using a string to keep track of a recorded file when recorded. The Developer can simply click a button to trigger the ( PLAY FILE @ String ) function for the last Played.
    2. Google is never going to leave Android alone, so not only to fixes always need to be made for the Android Microphone object, but also any other object that Developers have been using to play a file back. Do to the function not being available in the ANDROID MICROPHONE object itself.
    3. This should be a function regardless as it makes sense. If the ANDROID MICROPHONE can play the last recorded, then it can play a file from a path made from the Android Microphone.

    Anyway, for those of you currently having issues playing back a file on the latest Android. I have found a way around it yet again. The Android Video object does nothing now for playing back files for some reason and the PLAY MUSIC FILE option in MMF2.5DEV does this weird thing where it will only play when the app is closed. Strange right? I have already contacted Clickteam about this.

    The fix for now is to use PLAY SAMPLE FILE on Channel 1, instead and Direct it to the String ( File Location ). This works great at the moment, but it would be far easier with a Fix to the ANDROID MICROPHONE Object itself.

    Hope this helps and I hope this Fix can be made.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    DO*

    Sorry, can't edit my own post anymore.

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,300
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Ok i will add a new action to avoid conflict to others

    =========================================

    i need your small example for this to be sure i am reproducing your code
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Currently the app is complete and is only in full form. I can make a sample though. However as mentioned. I figured away around the ANDROID VIDEO Playback issue. I just used Play Sample File and it honestly works better then any of my previous apps using the ANDROID VIDEO Object for playback.

    However, maybe the Android Video object can have this instead for all older apps made.

    Play Last
    Play File = Please Enter a filename " "
    Pause
    Resume
    Stop

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,300
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    mm not sure to understand android video have all these actions

    androidvideo.PNG

    maybe is another extension
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    mm not sure to understand android video have all these actions

    androidvideo.PNG

    maybe is another extension
    Not Android VIDEO. Android Microphone!

    Add a PLAY FILE option. It only has PLAY LAST. It makes no sense to only be able to play the last recorded and not other files Recorded with the same object.

    Again, ANDROID MICROPHONE OBJECT

    Currently has:
    Play Last
    Pause
    Resume
    Stop

    Add:
    Play Last
    Play File = Please Enter a filename " "
    Pause
    Resume
    Stop

    Thanks

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    ?
    Maybe this will help to understand what I am trying to explain.

    ANDROID MICROPHONE.jpg

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Ok i will add a new action to avoid conflict to others
    Flawless! Absolutely simple and saves a ton of time using something else to play a previously recorded file. Excellent work Fernando!

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Ok i will add a new action to avoid conflict to others
    Hey Fernando. I was wrong. The Microphone object now crashes Devices if the user presses Record, stop then Play, quickly using the Play Last function.

    I made a quick APK that demonstrates this by flip, flopping between Record, stop, play, stop etc...

    Some devices can run for a few minutes before crashing. Some crash right away!

    LINK: https://drive.google.com/file/d/17lb...ew?usp=sharing

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,300
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    i need a log cat of the crash at your side, can you make a small mfa ?

    ==================

    Forgot to mention, what you want to achieve is not synchronous and will depend on the speed of writing and reading from different devices, so if you are doing this following a timer. It sure crashes.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. ANDROID MICROPHONE ANDROIDX - Not working
    By VBEinc in forum Android Export Module 2.5
    Replies: 24
    Last Post: 19th October 2021, 11:23 PM
  2. Question about android microphone
    By Lecherbault in forum Android Export Module 2.5
    Replies: 3
    Last Post: 8th December 2019, 05:53 PM
  3. Android Microphone Object Crashing
    By VBEinc in forum Android Export Module 2.5
    Replies: 4
    Last Post: 24th August 2019, 05:23 AM
  4. Android Microphone and windows
    By pl in forum Android Export Module 2.5
    Replies: 8
    Last Post: 4th July 2019, 02:40 PM
  5. [Beta] Android Microphone
    By Stephen in forum Android Export Module Version 2.0
    Replies: 14
    Last Post: 21st September 2015, 07:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •