Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 140

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
04/19/13 12:02 PM (12 years ago)

Question About Adding HTML Files In App!

I have a question. I have some files I would like to add to my Xcode project, these files consist of: 1. CSS files in one folder 2. JQuery Mobile file in one folder 3. Image folder 4. HTML index file All these files make what I want to display work. All I want to know is by adding these files into the HTML doc plugin will it work? Or am I better of using the custom URL plugin which I currently using anyway. But for the project I am working on it isn't suitable for me to link to these files on a server as my client won't be happy with this solution. Kind of stuck and not sure how to run these files from within the app. Any tips or advice will be much appreciated.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/19/13 02:11 PM (12 years ago)
You would place ALL of these files within the BT_Docs directory. HTML Plugin is fine, CustomURL is fine. Your choice. You want to be sure that the jQuery and other javascript stuff is NOT compiled, so move any of these files should they end up in Build Phases > Compile sources, and move them to Build Phases > Copy Bundle Resources. Hope this helps! Cheers! -- Smug
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/19/13 04:02 PM (12 years ago)
Thanks Smug, though I think I get what you are trying to tell me in the last paragraph.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/19/13 04:10 PM (12 years ago)
I wish I knew the correct syntax to describe it all... It's hard to say 'that little area with all the stuff' and have folks know what you mean, lol! Somewhere in this neighborhood: https://dl.dropboxusercontent.com/u/115208762/copybundle.png Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.