ファイル(index.html、style.css ...)をWebサーバー用の電話のSDカードにインストールするアプリを開発しています
Web サーバーは、再生する mp3 ファイルを取得する必要があります。
私の問題は、mp3 ファイルがどこにあるのかわからないことです??
例えば..
mp3ファイルをindex.htmlの同じフォルダに入れればうまくいきます。
<a href="somthing.mp3"
data-format="mp3 ogg">mp3 file</a>
ただ、index.htmlのフォルダより上位のフォルダを入れるとmp3のルートが取得できませんでした。
<a href="/sdcard/MUSIC/somthing.mp3"
data-format="mp3 ogg">mp3 file</a>
と
<a href="http://xxx.xxx.xxx.xxx:8080/sdcard/MUSIC/somthing.mp3"
data-format="mp3 ogg">mp3 file</a>
「http://xxx.xxx.xxx.xxx/index.html」は私のAndroid Webサーバーです...
どうすれば私のファイルを入手できますか???