cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
07/16/13 12:43 PM (10 years ago)

App wants to refresh

I have created my first app which consists of the menu with images and some HTML screens. I had it running fine in Eclipse on the emulator until I changed some colors in the menu with images plugin. Now the app wants to constantly update. If I click yes it refreshes but then asks to refresh again. This constantly loops around. Any ideas as to what i'm missing!
 
shak77
buzztouch Evangelist
Profile
Posts: 399
Reg: Jan 18, 2011
location unknow...
7,240
like
07/16/13 04:12 PM (10 years ago)
Just so I understand correctly- it asks you to refresh... and then immediately after it asks you to refresh again?
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/16/13 05:00 PM (10 years ago)
yes thats it! If I change something in buzztouch like the color of a menu, the change updates, but it will keep on telling me to update!
 
shak77
buzztouch Evangelist
Profile
Posts: 399
Reg: Jan 18, 2011
location unknow...
7,240
like
07/16/13 05:01 PM (10 years ago)
That's very strange. Never heard of that and I can't really think of much to solve it. The only thing I can think of is downloading the project again.
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/16/13 05:05 PM (10 years ago)
tried that! I will keep playing with it and see what happens. It was working fine until I change a couple of colors in the "menu with images" plugin. Tried undoing all that and downloading source code again but no luck! If I find the answer I will post here!
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
07/16/13 07:14 PM (10 years ago)
Change your config text: Instead of copying the "Live" mode data, copy the design mode data. Paste it in your config.txt file. Manually change the "design" to "live". Works for me anyway. Not sure why exactly. Tim
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/17/13 12:31 AM (10 years ago)
Thanks WolfTimJ, but still no luck for me!
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/17/13 12:41 AM (10 years ago)
Thanks WolfTimJ, but still no luck for me!
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/17/13 12:41 AM (10 years ago)
It is now trying to refresh each time, but now crashes when it tries to refresh. In the log I get the message: WB_screen_menuImage:handleReportToCloudResults server data changed, app needs refreshed Then I click to refresh app, then I get WB_screen_menuImage:handleReportToCloudResults EXCEPTION processing results: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40a73730 is not valid; is your activity running? Then is crashes.
 
cybernetuk
Aspiring developer
Profile
Posts: 14
Reg: Jul 07, 2013
West Bromwich
6,390
like
07/17/13 01:27 PM (10 years ago)
I wanted to update this thread just in case someone else has the problem. Seems that if I call the package name the same as a package that used to be on my buzztouch applications, it is trying to grab the settings of the original package and not the new one. If I rename the package to the deleted application, I can see the old screen before it says it wants to update. Bit hard to explain on here! But renaming the package seems to fix it.
 

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.