A Hitchhiker’s Guide to TimeTableME
TimeTable ME is a timetable platform written in J2ME, Java MicroEdition. It allows any train operators to easily create a portable schedule/timetable application that runs on any PDA/mobile devices supporting J2ME MIDP 2.0. Sample implementation contains the current schedule for CalTrain, the train system in San Francisco Bay Area.
Devices known to support MIDP 2.0:
- Symbian OS v7.0s+
- Palm OS 5.2+
- All Blackberry
- Windows CE/Mobile 5.0+
- Windows Mobile 2003 2nd Edition+
Windows devices will need IBM Micro Environment if it is not supplied by the phone manufactures.
How it looks:
1. Select a train schedule.

2. Select “From” and “To” stations and “AM/PM”.
3. Matching timetables are displayed.

How it works:
SCREEN 1: The schedule names are read from .JAD file.
SCREEN 2: When a schedule is selected, the app attempts to read ${scheduleName}.txt from the JAR. The schedule has to be a TAB DELIMITED file in the following format.
Format of the schedule database:
| Train No. | San Francisco | Milbrae | Mountain View | San Jose |
| 422 | 8:00 AM | 8:30 AM | ||
| 424 | 8:15 AM | 8:30 AM | 8:45 AM | |
| 425 | 9:00 AM | 9:15 AM | 9:30 AM* | 10:00 AM |
- Time can be in 24hr format instead of AM/PM
- UTF characters are not yet supported.
- First column is ignored when the schedule is loaded.
- First row contain the stations names that will display on screen 2.
In the example above, 422 is a speed train connecting San Francisco to San Jose, 425 is a slow train stopping at every station. Please note the train stations MUST be in order of the direction of the train. In a Southbound timetable, the northmost station is listed first. The order is reversed for a Northbound timetable. Also, train number (row) MUST be ordered chronologically by time of departure.
How to create a new app using your train timetable
Java/Symbian phones only (takes ~45 minutes):
1. Edit your timetables into the format above.
2. Open up the .JAR file in the distribution with Winzip, delete *.txt and put your timetables in there.
3. Edit .JAD file in the distribtion (see configurable params below).
4. Update MIDlet-Jar-Size in the .JAD with the new .JAR size.
All devices:
1. Follow the instruction at the bottom of the page to set up your environment.
2. Format your timetables and put them inside the lib/schedule folder of the source
3. Edit .JAD file in the source.
4. Run Ant against the build.xml
Configurable parameters (italized) in .jad file:
MIDlet-1: CalTrain,,CalTrainMIDlet
MIDlet-Jar-URL: CalTrain.jar
MicroEdition-Configuration: CLDC-1.0
MIDlet-Version: 1.2
MIDlet-Name: CalTrain Schedule
MIDlet-Vendor: Grassroot Innovation
MicroEdition-Profile: MIDP-2.0
CONTACT_EMAIL: jflashcard@gmail.com
TITLE: CalTrain Schedule
HELP_TEXT: Caltrain timetable effective January 1, 2006 (Source: http://www.caltrain.com/timetable.html) Legend: @=Six minute timed transfer at Redwood City station; *=Train may leave up to 5 minutes early.
SCHEDULE1: North M-F
SCHEDULE2: South M-F
SCHEDULE3: North S-Su
SCHEDULE4: South S-Su
MIDlet-Jar-Size: 16554
Variable Reference:
| CONTACT_EMAIL | Email contact where users into problems. |
| TITLE | Title of the root menu (screen 1). |
| HELP_TEXT | Text to be displayed at the help menu. Copyright info goes here. |
| SCHEDULEx | Name of the file before .txt. The name of the schedule will be displayed in order at the root menu. |
For Developers:
Tools Required:
1. J2ME Wireless Toolkit from Sun
or J2ME SDKs from phone manufactures such as Nokia.
2. Apache Ant
3. (Optonal) Eclipse and EclipseME
Edit eclipseme-build.properties when finish
Downloads:
Distribution: Java/Symbian Blackberry PalmOS
Only weekend CalTrain schedules are included in the distribution.
Source (under GNU General Public License):
svn://65.99.215.54:10002/timetableme
Tool and tutorial on Subversion source control.
August 13, 2007 at 1:45 pm
Hi,
I really like your timetable midlet. I am a school teacher and would like to use it on my cell phone. However, your midlet only contains 5 columns(Mon, Tue, Wed, Thu, Fri). My school operates on a six day cycle. Would it be possible for you to modify the midlet to include one more day and convert Mon->Day1, Tue->Day2, …, Day6? Can you please email it to me with the changes?
Thanks a million.
Regards,
Jason
August 29, 2007 at 4:04 pm
Hi!
I managed to change the names and times of the files, but how can i put it in a 24hour format? And I would like to see and learn a little of java, the utilities you talk about are mostly to windows, I use mac, I guess I can work with Eclipse, but which version/program?
Would be nice if the program would actually make bigger or color the train name more close to the actual hour!
Thanks! ;)
October 4, 2007 at 2:50 pm
Привет.
Продаю персональный сертификат WebMoney за $99.
Можете проверить: WMID 322973398779 Redfern
Всё чисто, не одной жалоб. Сделан на утерянные документы. Всё законно.
Если нужно, то есть сертификаты ещё.
Стучацо в личную почту на Вебмани.
Это не спам. Не пишите на мой WMID жалобы в арбитраж Вебмани.
October 7, 2007 at 6:45 pm
Привет.
Продаю персональный сертификат WebMoney за $99.
Можете проверить: WMID 322973398779 Redfern
Всё чисто, не одной жалоб. Сделан на утерянные документы. Всё законно.
Если нужно, то есть сертификаты ещё.
Стучацо в личную почту на Вебмани.
Это не спам. Не пишите на мой WMID жалобы в арбитраж Вебмани.
November 22, 2007 at 12:52 pm
Ðåãèñòðàöèÿ â Áåëûõ Êàòàëîãàõ 8931 êàòàëîã – 30$
Ïî âñåì âîïðîñàì ñòó÷àòü â ICQ 374551957
Registratsija v Belyh Katalogah 8931 katalog – 30$ ICQ 374551957
November 24, 2007 at 7:24 am
Programma dlia rassilki obievlenii na forumi i blogi baza 170 000 forumov i blogov RU programma Xrumer 4.0! Stoimost 50$ ICQ 374551957
November 27, 2007 at 8:47 pm
Prodaiy ICQ za 12$ za vse.Ïðîäàþ ICQ 12$ çà âñå.
274-693
324-994
564-567
605-800
695-769
985-425
132-335
478-575
Sviaz so mnoi ICQ 458411483. Ñâÿçü ñî ìíîé ICQ 458411483
November 28, 2007 at 10:17 am
Prodaiy ICQ za 12$ za vse.Ïðîäàþ ICQ 12$ çà âñå.
274-693
324-994
564-567
605-800
695-769
985-425
132-335
478-575
Sviaz so mnoi ICQ 458411483. Ñâÿçü ñî ìíîé ICQ 458411483
December 18, 2007 at 2:30 am
izvenite no nam nado sdelat test
vi ved ne bydete protiv admini
June 30, 2008 at 10:51 am
Thanks for the good work and making it open so that any one can make changes accordingly.. I have yet to make the changes but it is already working very fine..
Keep up the good work .. Hitchhiker .. You are really a Genius Programmer.
regards,
Vinod
August 22, 2008 at 6:23 pm
0mThank’s.7o I compleatly agree with last post. oky
купить ламинат 6q
April 15, 2009 at 2:55 pm
This topic is quite trendy on the Internet right now. What do you pay attention to when choosing what to write about?
May 9, 2009 at 8:47 pm
Прикольная статья, но хотелось бы поподробнее узнать о некоторых моментах… Как можно с Вами связаться?
May 21, 2009 at 11:30 pm
То что бредомысли это точно :)
Видно настиг творческий кризис. Мысле нет о чем писать :)
September 8, 2009 at 3:42 am
Предлагаю рассылку рекламы:
-на форумы 15$ на 30000 форумов
-на доски 6$ на 10000
-регистрация в каталогах 6$ на 6000
E-mail: rek765@rambler.ru
Базы свежие, использую лицензионную программу с распознованием капчи.
October 5, 2009 at 10:58 pm
klalpvauzzib
October 6, 2009 at 12:39 am
Делаю сайты как простые так и сложные. Простые от 30$ около 100 готовых шаблонов.
Сложные от 100$ около 100 готовых шаблонов. На сайт могу поставить аудио,видео,флеш,форму обратной связи,
фотогалерею,слайд шоу, регистрацию,подписку на новости,поисковик,форум,гостевую,каталог ссылок,
доску объявлений, и др.Также делаю баннеры,есть около 40 готовых и под заказ, готовые 10$ под заказ 25$.
Раскручиваю сайты рассылкой рекламы на доски 7$-9000, каталоги 7$-6000, форумы 20$-31000, есть ручная рассылка 0.2$ за регистрацию.
Есть вариант комплексной раскрутки – рассылка на общетематические ресурсы + сбор баз тематических ресурсов и рассылка по ним
+система пирамидой раскрутки 1000$ все последующие рассылки по всем базам 100$ или на абонплате 200$ в месяц.
Также предлагаю раскрутку под конкретное число посетителей 100$ за 1000 уникальных посетителей (не накрутка)
.Делаю сбор баз любых ресурсов под заказ. hot476@mail.ru