Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 4    Views: 301

satit
I hate code!
Profile
Posts: 89
Reg: Feb 16, 2012
bangkok
6,640
03/05/14 05:27 PM (10 years ago)

Buzztouch V3 How to Auto Refresh for android

Hi, I want my app to auto load or auto refresh (selfload) after modified on web. I only found guide v1.5-2.0 What's about v3 for android? Thank in advance.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
03/06/14 04:46 AM (10 years ago)
Would like to know too! The IOS solution used to work well until the Design/Live mode was introduced. Would be great to have something similar for both platforms. Farcat
 
Louie
Code is Art
Profile
Posts: 40
Reg: Dec 31, 2012
Toronto
400
like
03/09/14 10:48 AM (10 years ago)
Try this: 1. src > com.yourapp > BT_activity_host.java around line 671 change "confirmRefreshAlert.show();" with "refreshAppData();". 2. res > values > "<string name="loadingTitle">Loading...</string> replace the text in string with what you want.
 
satit
I hate code!
Profile
Posts: 89
Reg: Feb 16, 2012
bangkok
6,640
like
03/25/14 09:41 PM (10 years ago)
Hi Loule, It's Work fine for android. but i using a differ line as below instead .. <string name="loading">My Loading...</string> .. What's about on iOS? thank you very much
 
Louie
Code is Art
Profile
Posts: 40
Reg: Dec 31, 2012
Toronto
400
like
03/26/14 06:36 AM (10 years ago)
For iOS: 1. In xcode, find your xxxxxxxx_appDelegate.m file in the BT_Config folder (xxxxxxx = your project name). 2. Around line 413, you will find this code: [modifiedAlert show]. 3. Replace it with: [self downloadAppData].
 

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.