using local content in iOS

Associate
Joined
27 Dec 2004
Posts
612
Location
Andover
This may be a bit difficult to get an answer for since it's partly using a program called worklight as the base.

I'm currently developing an ipad app that uses html/html5, css and javascript. Worklight acts as a browser without bars. I have been trying to use the audio playback for an api called phonegap, this worked fine within Android using the /android_assets/ folder to navigate to my file locations. However, in iOS I can't find anything that offers a absolute/semi absolute path structure to get to the file to play.

Relative linking works within html but as soon as you use an onclick event and the phonegap api, I would need an absolute file path. It's a long shot, but does anyone have any suggestions?
 
Back
Top Bottom