Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Audio Player


I'm using the example audio player that came with kitchenink in an application, It works great bar one thing.

In my app I have a window that opens with the audio player and plays the file. I have a back button that closes the current window and I have put the clearInterval(i); & sound.destroy(); lines into the event for my back button.

It all works good but when I go back to audioplayer it plays the file but none of the buttons work ie I can't stop pause etc. Note I have removed the session mode button and funcionality.

Any ideas what could be causing this?

And should a progress bar be in this example? It seems to be in the js file but does nothing.

— asked November 7th 2010 by Kevin
  • android
  • audio
  • basic
  • player

1 Answer

  • Kevin

    You will need to give us the gist, or else we can't see where you are going wrong.



    — answered November 7th 2010 by Paul Dowsett
    1 Comment
    • I fixed the audio layering up on top of itself by not getting to play when the window opens.

      The only issue that remains is I have a scrollView that seems to double up everytime I re-open the window and the progress bar doesn't seem to appear either.

      Heres the code:

      — commented November 8th 2010 by Kevin
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.