Discussion Forums  >  Uncategorized

Replies: 12    Views: 261

ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
12/08/11 08:14 PM (14 years ago)

Bus Schedule

Hi guys, Any idea how to make a professional look bus schedule. Is there a plugin for this?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/08/11 09:21 PM (14 years ago)
Bus Schedule, cool. I guess it would depend on what it should look like, function like, do, etc.. Most plugins are all about design, data normally comes from a third-party source and once you have the design down, plugging in the data is the easier part. Maybe mock up a screen-shot of what you think it should look like...post it on DropBox or something the gang can see?
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/08/11 11:38 PM (14 years ago)
Cool! Every bus route have point A departure times and point B departure times. They are different on weekdays and weekends. Also need a function to display the price. Thanks from the reply!!!
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/08/11 11:38 PM (14 years ago)
Whats your dropbox email?
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/09/11 01:07 AM (14 years ago)
Hi david, if you dont mind check out this app. Its free. Ontime HK its very basic and thats what I need!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/09/11 01:29 AM (14 years ago)
Yes, it does look basic. It's all about where the data is coming from. To do this in buzztouch you'll end up housing the data on a backend (your website probably), then using Data URL's in menu screens. This is doable with BT v1.5 (not BT v1.4). The trick will be to get the data to output in the proper format for the Menu List screens. Have a look at the docs for the Screen Menu List and it will show you want the data needs to be formatted like. Each menu will point to a different set of data, the data will be output in JSON for the phone to download then display.
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/09/11 01:34 AM (14 years ago)
Thank you, sounds complicated but i will try to make it work!
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/12/11 09:20 PM (14 years ago)
Cant seem to figure it out. Anybody that wont mind explaining how I can create a data URL that will output the data the same way as the free app called Ontime HK?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/12/11 11:04 PM (14 years ago)
Do you have the data for the schedules in an organized format? Spreasheet, Database, how is this info stored now? If you have the data in flat-files (spreadsheets), I'm happy to review it an write up some sort of approach. Cant' really do that without first seeing the info. Feel free to send whatever data files you have (assuming their not huge with millions of rows) to info 'at' buzztouch.com, I'll get a look and see what I can come up with.
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/12/11 11:32 PM (14 years ago)
Thank you!!! ill work on that later today!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/14/11 09:53 PM (14 years ago)
OK, I've looked at your data set and it's basic, as expected. I would do this: a) Figure out how to 'read' this data into an array using PHP. This means you'll put this file on your website and create a .php script to open it and read in the data. You'll be best off saving the file as a plain text .csv file instead of a .xls (excel spreadsheet. So, save the file as .csv, upload it to your website, then create .php script to read it. b) Create a menu list screen. Set the Data URL for this menu list screen to the web address of the .php script you created in the previous step. When the menu loads, the phone will make a request to the php script. The php script will output the menu items as they appear in your data file. This means you'll need to look at the docs to see how the menu list screen expects the data to be formated. It's JSON format in a certain way. Your php script will read the .csv data then output the json.
 
ur4mehk
I hate code!
Profile
Posts: 25
Reg: Nov 13, 2011
location unknow...
250
like
12/15/11 12:03 AM (14 years ago)
Thanks Dave, put I have no idea how to do this. No coding experience at all. I really appreciate all your effort. Is there anybody here that can help me to create one list and then I can figure it out by editing the php file and doing the same for the rest?
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
07/31/15 02:10 AM (10 years ago)
Hi, I am also researching to make an app for a bus schedule, i was wondering if you managed to get it working? Cheers, farcat
 

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.