Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 11    Views: 137

Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
11/27/12 10:39 PM (13 years ago)

Anyone having update/refresh issues?-Android

I have been trying to figure this out over the last week or two. If I make changes to my console they are not seen/updated in the app. I have tried making apps from scratch off of self hosted server and through BT. Same results. The data and cloud url's are default. Also, if I press menu, I don't have the option to refresh. It just says No Options, OK-close. I am using 2.0 and just eclipse as it is only in Android. Anyone else having this problem? Have fixes? Thoughts? Thanks. Shane
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 10:53 PM (13 years ago)
Hi Shane, David is looking at this as I write this. Hope to have an update tonight or soon after! Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/27/12 11:17 PM (13 years ago)
WOW, got it! I sent @GoNorthWest an updated version of the fixed BT_activity_base.java file. It's the only file that changed. I also updated it on the download server. @Outbreak I would have sent it to you too had I known who we were helping. LOL. Look at this: if(extras.getString("screenDataIsHomeScreen").trim().equals("1)")){ See the quote in front of the 1 but not after...it's OUTSIDE the paren...nuts. Nuts mostly because we rely on the compiler to yell at us for typos like this...and, you would think Eclipse would give a warning or something too. I spent hours the other day looking at this, no luck finding anything. A bit more tonight and bingo! Live and learn....thanks for the patience and the great find.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 11:21 PM (13 years ago)
Sweet! So, @Outbreak, you should be able to download your source again, compile, and at least the Refresh App Data option should be there. Mark
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
11/27/12 11:39 PM (13 years ago)
You guys are rock-stars! I truly appreciate all of your efforts. I will be able to try it out in a day or two(have to go out of town). Thanks again. Can't believe you have time to look at this while your practicing your gangnam style:) Cheers! Shane
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
11/27/12 11:40 PM (13 years ago)
BTW, it wasn't me.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/27/12 11:43 PM (13 years ago)
It was SO YOU! Laughing. Glad you found this Refresh bug, safe travels.
 
UniApps
Aspiring developer
Profile
Posts: 124
Reg: Apr 21, 2012
An American in ...
5,940
like
11/28/12 06:33 AM (13 years ago)
In Self-Hosted Server > Android - if(extras.getString("screenDataIsHomeScreen").trim().equals("1)")){ is not in my BT_activity_base.java . I created the .zip an hour ago. Most of you in the US are still fast asleep. I am working on 2 map Apps this week. They are clones of each other in terms of the BT setup. The only difference is the config.txt file. One is 60k, the other has lots more addresses and is 309k. Neither notify me that I should refresh. I have to do it manually. The App with the larger config.txt file won't. It sits and spins for minutes until I do a Settings > Applications > TheApp > Force Stop. How do I put some kind of command in to not sit and spin forever? Like a timeout value? I bit on the Self-Server upgrade for $30 hoping things would improve. I've sent 2 issues to my "dedicated rep" since Wednesday, with no response.
 
UniApps
Aspiring developer
Profile
Posts: 124
Reg: Apr 21, 2012
An American in ...
5,940
like
11/28/12 06:35 AM (13 years ago)
And why would the phone sit and spin forever? What do I look for, where?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/28/12 08:22 AM (13 years ago)
Thank you...now I can refresh. LA
 
UniApps
Aspiring developer
Profile
Posts: 124
Reg: Apr 21, 2012
An American in ...
5,940
like
11/28/12 08:24 AM (13 years ago)
Are you using the self-hosted or the BT account based...?
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
12/05/12 06:05 PM (13 years ago)
Great find. I could not figure out why my menu with Image screen would not load the header I had in the file and after I manually inserted the JSON data why it would not refresh with new menu items. I am sorry that I wasted so much of Susan M.'s time. Thanks Mark and David for finding the bug and showing us the code section.
 

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.