Page 1 of 1

Is there any way to upload audio files to web_resources folder?

Posted: Fri Sep 20, 2013 1:40 pm
by Yuriy Novikov

I currently play audio that are on my own server, but in app i want them on user local filesystem under www.

As i understand i can put audio file somewhere under www (web_resources) folder and it will work in android/any device.

How can i test it with appery?


Is there any way to upload audio files to web_resources folder?

Posted: Fri Sep 20, 2013 2:28 pm
by Kateryna Grynko

Hi Yuriy,

You should ask for a user permission (in case he has paid Internet access), then download when app runs for a first time: http://docs.phonegap.com/en/2.9.0/cor...


Is there any way to upload audio files to web_resources folder?

Posted: Fri Sep 20, 2013 8:15 pm
by Yuriy Novikov

There is some misunderstanding. Probably the cause is my english.

Let try once again.
I play some audio in my app. Currently i do it:

Code: Select all

 var audio = new Audio('[url=http://myserver.com/file.mp3]http://myserver.com/file.mp3[/url]');   

I want to do it

Code: Select all

  var audio = new Audio('myfolder/file.mp3');   

The question is: how to upload sound files to web_resources folder under project source?


Is there any way to upload audio files to web_resources folder?

Posted: Fri Sep 20, 2013 8:40 pm
by Maryna Brodina

Hello! For now there is no way to do that through builder. You would need to download source code (eclipse/xCode) and add it manually.


Is there any way to upload audio files to web_resources folder?

Posted: Sat Sep 21, 2013 2:07 am
by Yuriy Novikov

Ok, thanks.
BTW, so many beautiful russian girls in one place. I understand what people inspired by.