Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (fail)
Viewing all articles
Browse latest Browse all 21

Can't play sound from my Android device SDCard

$
0
0

Hi, I download some mp3 files to my Android device SDCard. When I want to play them they don't start playing.

The path of each file is like this one: file:///mnt/sdcard/Android/data/com.myDomain.myApp/files/ShiningStars.mp3 (I use dk.mikkendigital.mkdfs to help me with paths).

I play the file with Ti.Media.createSound passing the URL to the url property of the object and then playing (it works like a charm in the iPhone version of the app).

Can you help me?


Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>