Discussion Forums  >  Images, Documents, File Locations

Replies: 8    Views: 87

Jaedyn
Apple Fan
Profile
Posts: 7
Reg: Jul 31, 2012
Tacoma
4,920
08/26/12 04:55 PM (13 years ago)

How do I make my BG screen images local, self contained on the app?

I would like certain artwork in my app to be 100% offline, with no connection to the Internet required (meaning it would work fully in Airplane Mode). I know this means the content needs to be local on the device, not pointing to a URL or anywhere off the device. I'd like to self-contain a few BG screen images and the buttons so there is no lag in the load time. How do I set it up to be packaged up with the app? Please forgive me I'm a green-horn newbie, and this process isn't immediately clear to me. I suspect in the screen BG image panel I simply list the file name in instead of uploading it to the BT server or my own server and listing the link- but what then? Where do I put the actual image files? I've tried dropping them in various folders and haven't been able to achieve this yet. Is there anything more to this process that I am missing? Any assistance rendered will be appreciated. David
 
SkullyFox
Apple Fan
Profile
Posts: 169
Reg: Jul 15, 2012
Armidale
12,190
like
08/26/12 04:56 PM (13 years ago)
Android or iOS
 
Jaedyn
Apple Fan
Profile
Posts: 7
Reg: Jul 31, 2012
Tacoma
4,920
like
08/26/12 04:59 PM (13 years ago)
sorry iOS
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
08/26/12 05:28 PM (13 years ago)
Hey, all you have to do is copy the images to your BT_Images folder that you downloaded from BuzzTouch, and then copy them to the XCode. Cheers
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
08/26/12 05:29 PM (13 years ago)
Yes, you do not need to upload them to your BT-Server. Cheers.
 
SkullyFox
Apple Fan
Profile
Posts: 169
Reg: Jul 15, 2012
Armidale
12,190
like
08/26/12 05:29 PM (13 years ago)
The way i do it - in the project folder itself - i put the actual image in the BT_Images folder (eg. \Users\Dave\Desktop\ProjectName\BT_Images) I then, in Xcode, drag the images to the BT_Images folder. In control panel - type the name of the image exactly as it appears in xcode - and it should then use it offline. Run your app on an iphone to test. Hope this helps. Dave
 
Jaedyn
Apple Fan
Profile
Posts: 7
Reg: Jul 31, 2012
Tacoma
4,920
like
08/26/12 07:29 PM (13 years ago)
Worked like a charm! Thanx! I tried that a few times before and it did not work, but I think it had something to do with the references to the file, so I re-did all that and it worked. Thanx again guys! David
 
SkullyFox
Apple Fan
Profile
Posts: 169
Reg: Jul 15, 2012
Armidale
12,190
like
08/26/12 07:46 PM (13 years ago)
Excellent result, glad we could help Dave
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
09/20/12 03:56 PM (13 years ago)
Would that be the same for Android to have a doc load offline without a link?
 

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.