Discussion Forums  >  Images, Documents, File Locations

Replies: 2    Views: 106

pdog
buzztouch Evangelist
Profile
Posts: 106
Reg: Nov 20, 2013
Kelowna, BC, Ca...
6,310
12/11/13 05:20 PM (10 years ago)

Does the file manager for apps (in the BT Control Panel) do anything when publishing/downloading?

What is the use of the Files/Media file manager? Does it take files and package them with your project when downloading for IOS/Android or is it just for convenience to help you keep your files in one place at the control panel level?
 
bigPaul
Lost but trying
Profile
Posts: 103
Reg: Mar 08, 2013
Darwin
4,530
like
12/11/13 06:46 PM (10 years ago)
@pdog - Essentially, in short, it is the latter BUT there is a bit more to as the Why? Here is my understanding (in particular reference to Android). 1. Uploading files into media manager provides the quick easy referencing that is needed in creating your screens and producing appropriate json data. 2. When downloading zip file for eclipse, these files are not included because: a) You already have them on your pc anyway so why re-download them, b) it keeps the zip file as small as possible and c) eliminates unnecessary host processing (in particular if BT hosted). 3. After downloading a zip and importing into eclipse, you will always need to move/copy these files into the relevant workspace folders (ie. BT_docs, res/drawable, etc) and refresh into the project. In saying that though, one other main factor is: What is your apps focus? 99% Offline or 80% Online? 1. If your app is primarily to be used offline then including all files within the app is generally a good idea, that way it is not prone to failure if the cache is inadvertently cleared. This can however make the app bulky. 2. If you want a minimised app that relies heavily on wifi/internet etc, then you could actually not include these files in the eclipse build provided you use the URL links to these files when building your screens. Regards Paul.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/11/13 10:49 PM (10 years ago)
An explanation in a five minute tutorial video: http://www.youtube.com/watch?v=zEFMUVfxreU Mark
 

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.