Discussion Forums  >  Uncategorized

Replies: 9    Views: 373

WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
03/21/11 07:38 PM (14 years ago)

Problem.... maybe

So I'm sitting in front of my lawyer going through some stuff and she asks to see this new app I've put together. So I pull out my handy dandy AT&T handicapped IPhone and the second page I pull up doesn't load, so I go to another with a single location map and it comes up slowly, then the map never draws the route. A hundred times it works fine... Anyway, my question is this; the apps I will be putting together will need to run when there is a possibility of not having WIFI or 3G signal (inside buildings such as hospitals), so is there a way to ensure the app will run locally without network input? Tim Wolf
 
G8torBrent
Aspiring developer
Profile
Posts: 27
Reg: Mar 04, 2011
location unknow...
270
like
03/21/11 07:58 PM (14 years ago)
As I understand it, most of the pages (custom html being one of the exceptions, I think) work on a client-server basis. The client (your phone) calls the server (Buzztouch's backend guts) OVER THE NETWORK or VIA WIFI. (Not yelling, just emphasizing.) So when you don't have a signal or wifi, you'll be pulling from the cache. Can't do that with maps, of course. But you'd have the same problem with maps no matter how the rest of the app works. My understanding of it, at least.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
03/21/11 08:01 PM (14 years ago)
search the forum..there is a fix to have the config files load from the app itself..if i find the post i'll post it
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/21/11 08:22 PM (14 years ago)
These are good remarks. The answer is yes and no, and yes, and no. It all depends on the type of screens the app is using. We encourage folks to create apps with content / data that is 'cachable' so the gadget will work without WiFi. However... there is room for improvement in the way the app 'first loads.' Today, unless somebody takes the time to embedd the config data in the app (so it works offline) it will need to load lots fo things from the web before it will work. We've already begun a major design change to this logic. In the near future (very near future) we are going to provide the config data with the download so the app will work ALWAYS when it launches, even if it's the first launch and even if it's no online. However... as mentioned before, just because the config data is local already doesn't mean the contenet itself is. This is where the designer comes in. If you point to URL's, you're gonna need internet. Maps for sure - always going to need internet.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/21/11 08:48 PM (14 years ago)
Thanks guys. I think it's pretty obvious the map will have problems without connectivity, the text page that didn't load was a surprise though. So how can I get the configuration data to load as was suggested? Thanks!!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/21/11 08:59 PM (14 years ago)
This thread shows a step-by-step about half way down. My Feb. 12 post. http://www.buzztouch.com/forum/thread.php?tid=31416AD1102E020
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/21/11 09:05 PM (14 years ago)
Thanks David. So the implication seems to be that I'm out of luck with my 1.4 app in this regard.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/21/11 09:22 PM (14 years ago)
OH, yeah, crap. There I go assuming again! If it's iOS only, it's super easy to recreate them in v1.5 (and we are nearly done with the v1.4 conversion tool). If it's Android and iOS - not so much. v1.4 is no good at local data. It's amazing how much better we have gotten at this! v1.4 seems soooo outdated now. Works great but these types of gotcha's are super tough to avoid. Dont' know how to advise if you need a v1.4 app to work offline. Really hard, even with programming kung-fu.
 
TheHoogler
I hate code!
Profile
Posts: 152
Reg: Feb 10, 2011
Anchorage, AK
1,520
like
03/21/11 11:28 PM (14 years ago)
You know, my maps open just fine without connectivity. I took my Ipod Touch out on the road and it pulled up google maps easily (showing my locations and all). The only thing missing was driving directions.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/21/11 11:40 PM (14 years ago)
Ah... yeah, probably using GPS and not Cell Towers - duh. I'm literally working out the logic so PDF's cache for offline use. If i can get it done tonight I'll try to also add the option in the control panel. Not sure if it should default to yes or no? There are some apps with literally hundreds and hundreds of PDF's that load from URL's and they do not cache becaue they would fill the device's storage. Hmm... to cahce or not to cache, that is the question.
 

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.