Yuriy Novikov
Posts: 0
Joined: Sun Sep 15, 2013 1:53 pm

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

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

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...

Yuriy Novikov
Posts: 0
Joined: Sun Sep 15, 2013 1:53 pm

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

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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.

Yuriy Novikov
Posts: 0
Joined: Sun Sep 15, 2013 1:53 pm

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

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

Return to “Issues”