Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 63

Redbullet
Aspiring developer
Profile
Posts: 42
Reg: Mar 05, 2011
Earth
3,170
02/23/14 03:44 PM (10 years ago)

Getting latest config data without downloading the source code again

I have finished all my screens and have finished testing my App, the only issue is when the user install the APK, the first window they see the empty data that appears to be broken, the force refresh may work but for those users that has slow or no internet at all, it's really a bad experience. Is there a way to download just the config data without downloading the whole source? It will be a pain to edit the java and xml files again if in case If I work on the new source code.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/23/14 03:48 PM (10 years ago)
It's relatively easy… It's just a matter of copy and paste. 1) Obtain a 'fresh' config file by going to your APP BT control panel and choosing the link for 'configuration data', or in self hosted panels under 'Json Data'. 2) Select if you want 'design mode' or 'live mode' configurations 3) Copy the entire text (From the screen; there is no 'download' of new data) 4) Paste the text into jsonlint.com - This is an option, it just makes it 'pretty'. 5) In your app (either Android or iOS) find and open your BT_config.txt file 6) Select all; delete. 7) Paste your new config file text in place of the old config file text. 8) Save 9) 'Clean' your project, via project/product menus (depending on iOS/Eclipse) 10) Sit back and have a pepsi. Hope this helps! Cheers! -- Smug
 
Redbullet
Aspiring developer
Profile
Posts: 42
Reg: Mar 05, 2011
Earth
3,170
like
02/23/14 03:50 PM (10 years ago)
thanks Smug, I'm about to pull all my hair...:)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/23/14 03:51 PM (10 years ago)
The reason I'm bald is I've been in IT too long. I completely understand. 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.