techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
01/19/13 07:33 AM (13 years ago)

Changes do not show up in the emulator

My emulator in Eclipse does not reflect changes made in my Buzztouch screens. I edited the custom html and simple menu pages on BT, the emulator says the data has changed. I accept but do not see the changes. Here is what I have tried so far- Deleting the app in the emulator from the settings. Deleting the associated files then the app in the settings emulator. Deleting any Android file that had anything to do with Transtec. Emptying all browser cache on my computer. Restarting my Mac. Restarting Eclipse. Restarting the emulator. Refresh in Eclipse. Deleting the project file in Eclipse re-downloading and reinstalling. Deleting the project file and checking delete project contents on disk. Re-downloading and reinstalling files from BT. Fixing project properties. Cleaning project files. Refactoring project files. Renaming directories. Renaming files. Renaming project on BT. Adding and deleting new links in simple menus. Creating test pages. Changing something I recognize on current HTML pages. Setting up a second new workspace. I tried a new workspace in Eclipse and started with a fresh download and everything looked exactly as it did in my BT screens. I thought the problem was fixed. I made a change to an html page and it asked if I wanted to update the emulator with the new changes but even though I chose yes it did not reflect the changes. Since Eclipse doesn't update as it did previously I may try uninstalling and reinstalling unless anyone has any ideas. Thanks, Greg
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/19/13 07:52 AM (13 years ago)
Hey @techdeesigner, I have been having this problem also. It takes me a long time to get the data to refresh in the emulator. Did you try to uninstall it on the emulator or try it on a device? LA
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/19/13 07:58 AM (13 years ago)
The app looks to see if there's a config.txt file already downloaded on the "device", and of so will ignore whatever is in the bundled config.txt. You can refresh to get the latest control panel version, but you won't be able to make changes to JSON in XCode/Eclipse unless you delete the app from the device first. I wrote some code that looks for the version number and if it's new, to use the bundled config.txt, otherwise go to cache/dataURL. It's in one of these threads somewhere.
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 08:41 AM (13 years ago)
Chris1, I deleted the app from the emulator, Eclipse and tablet before downloading fresh from BT. Is there another place where the configuration is stored or am I missing your point? Thanks, Greg
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/19/13 08:42 AM (13 years ago)
Nope - must be a different issue. Sorry.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/19/13 08:44 AM (13 years ago)
Is your dataURL set properly in core settings?
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 09:03 AM (13 years ago)
I will have to check when I get back, might have to get more info from you if I can't figure out how ;)
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
01/19/13 09:10 AM (13 years ago)
Have you looked to see if you have publish changes in the control panel and the other changes. I'm not real familiar with this feature yet. But, it's worth a check.
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 09:14 AM (13 years ago)
I will have to check when I get back, might have to get more info from you if I can't figure out how ;)
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 09:16 AM (13 years ago)
Thanks Outbreak will check that also.
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 09:59 AM (13 years ago)
@Outbreak I tried changing the Live and Design mode in Eclipse, making changes and clicking Publish. It didn't make a difference. I am not sure I did it correctly in the right order. Thanks for the suggestion.
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 01:49 PM (13 years ago)
@Chris1 as usual I am not experienced enough to figure it out :( I googled it and found a post David had made about changing dataURL settings in the advanced settings of each screen to make the app not reference the web. Is this what you are referencing? Thanks, Greg
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/19/13 03:36 PM (13 years ago)
If u go to the "core settings" for the app (not the individual screens), make sure the dataURL is the default setting.
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/19/13 04:30 PM (13 years ago)
Duh... I have seen core settings in BT. Just forgot, will check later. Thanks Chris
 
HerrNathan
Aspiring developer
Profile
Posts: 73
Reg: Oct 11, 2011
Stirling
5,830
like
01/19/13 04:52 PM (13 years ago)
Hi Have been having the same problems while testing my app. While using the simulator I did notice a message in console about not seeing any changes in configuration. It seemed to suggest that the config data on the app was the most up to date and therefore didn't need to re-fresh. This was obviously not the case. I've tried to replicate this but can't seem to manage it and stupidly never copied exactly what it said (doh!) It may be worth your while to check and see if you are getting the same message. Have managed to get it to refresh by connecting to an android device, changing the version number under the 'Publish Changes' menu and then running. However, when I made additional changes the same thing happens again. I have managed to get it to display the current data by copying the data from the configuration panel in buzztouch and replacing the contents of the BT_config.txt file in the assets folder in eclipse. Being a total beginner to Eclipse, I'm not sure if that's a good move though..
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/20/13 01:48 PM (13 years ago)
@HerrNathan were you able to get the changes to show in the emulator or do we need to assume Buzztouch can no longer be previewed that way. If so I wish we could disable the new Publish feature. I tried changing the version in the control panel and copying the config text and pasting in eclipse config text then cleaning. It still had no effect on the emulator output even though I received the popup that changes were made. Thanks, Greg
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
01/20/13 02:21 PM (13 years ago)
@HerrNathan you are correct. Buzztouch no longer shows the correct information in Eclipse but following your steps I can export the apk and view the updated data on the device. I will miss using the emulator to preview my changes :( Thanks for your suggestion, Greg
 
HerrNathan
Aspiring developer
Profile
Posts: 73
Reg: Oct 11, 2011
Stirling
5,830
like
01/20/13 02:31 PM (13 years ago)
No probs - glad your up and running.
 

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.