HI David,
That's what the code above does. Is it not working for you?
On my Android I hear the .mp3
Simon
Can I launch Android browser within LiveCode Card - Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Can I launch Android internet browser within LiveCode Ca
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Can I launch Android internet browser within LiveCode Ca
Simon,
Your code works on my physical device, but it takes several minutes to load the mp3. If I test it in the emulator it also works, but it plays as well as opens a new player that can be start playing while the sound loaded with your code is still playing. But on a physical device it works, just very slowly.... I think streaming might be the way to go with this, using the player object I can have these sounds start playing very quickly...
I wouldn't say that, I'm far from a LiveCode expert, but thanks for the vote of confidence!
I think there's definitely a way to achieve your desired results, I think you might want to look into using a player instead of loading the whole file before playing it. There may be another option though, as I don't have much experience with sound on mobile. I will check out the native player and see what I can come up with.
--Sefro
Your code works on my physical device, but it takes several minutes to load the mp3. If I test it in the emulator it also works, but it plays as well as opens a new player that can be start playing while the sound loaded with your code is still playing. But on a physical device it works, just very slowly.... I think streaming might be the way to go with this, using the player object I can have these sounds start playing very quickly...
David,DR White wrote:If it is challenging for you, It would be impossible for me.
Thank You so much for your time and effort,
David
I wouldn't say that, I'm far from a LiveCode expert, but thanks for the vote of confidence!

--Sefro
Re: Can I launch Android internet browser within LiveCode Ca
How can I invoke the Android native Sound Player, while in the LiveCode Android browser?
I would have thought that selecting the text that was linked with the mp3 file would have automatically started the android sound player,
but it does not - Could it be a bug in the LiveCode " mobileControlCreate "Browser"" instruction.
I am Dead In the Water - NEED Help!
Thanks,
David
I would have thought that selecting the text that was linked with the mp3 file would have automatically started the android sound player,
but it does not - Could it be a bug in the LiveCode " mobileControlCreate "Browser"" instruction.
I am Dead In the Water - NEED Help!
Thanks,
David
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Can I launch Android internet browser within LiveCode Ca
David,
Check out this example I just cooked up. It's not pretty, but it uses the browser and the player control on the same card to play the MP3s. I commented the script, which is all in the card script. Test this out on your device and let me know if it works for you.... I'm sure there are ways to make it prettier/ more functional, but as far as loading the files, it starts playing very quickly......
--Sefro
Disclaimer: This was example starts playing when it launches.....
Check out this example I just cooked up. It's not pretty, but it uses the browser and the player control on the same card to play the MP3s. I commented the script, which is all in the card script. Test this out on your device and let me know if it works for you.... I'm sure there are ways to make it prettier/ more functional, but as far as loading the files, it starts playing very quickly......
--Sefro
Disclaimer: This was example starts playing when it launches.....

Re: Can I launch Android internet browser within LiveCode Ca
Sefro,
YOU are the Greatest!
WOW!!
It works GREAT!!
Thank You SO MUCH,
David
YOU are the Greatest!
WOW!!
It works GREAT!!


Thank You SO MUCH,
David