January 9th, 2011, 07:29 AM
Thread Author (OP)
Join Date: Jan 2011
Carrier: Not Provided
Thanked 0 Times in 0 Posts
Closing Media player through activity starter?
I am building an app where the user can click a button, choose an audio file and then play that audio file on demand by clicking a button. A label would display the file path to the audio file.
I found I needed to use the activity starter to launch an existing file browser, only problem is that when I click on my desired sound file, it will play it. After hitting the back button a few times, I get back to my app screen but the file path isn't displayed.
I suppose this is 2 questions.
Does anybody know How I can kill the media player and go back to my App ?
I have tried Close Screen with Result, the best I got with it was, closing MY app's screen with I hit back, not exactly helpful lol.
And does anybody know why I cannot display my file path. I have tried Set Text as Resultname/DataUri/ResultUri but neither of them seem to work.
any help would be greatly appreciated.
Thanks for your time.