Discussion Forums  >  Uncategorized

Replies: 2    Views: 234

QuiggityBiggity
Aspiring developer
Profile
Posts: 38
Reg: Aug 05, 2011
Baltimore
980
09/11/11 05:43 PM (12 years ago)

Simple If-Then logic statements -- working with dates

Is the only way to incorporate this by coding it in? In my app the user can view a schedule, but this schedule changes based on each day of the week. What I plan to do is have the user select what day it is from a List, but that is pretty unnecessary given that the phone knows what day of the week it is. Can buzztouch accomplish this in any way? Thanks as always
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
09/12/11 03:16 PM (12 years ago)
Hi Quiggity, What you're asking for isn't a built in feature of buzztouch but could be accomplished in several different ways. The first that pops to mind is have users access a .php file that determines the date and then redirects to a screen based on the date. Just have the .php return the proper screen data in JSON format. Check out the Documentation for more info on JSON data and what each screen requires to load.
 
QuiggityBiggity
Aspiring developer
Profile
Posts: 38
Reg: Aug 05, 2011
Baltimore
980
like
09/12/11 04:25 PM (12 years ago)
thank you! Nick
 

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.