As there is no iPhone compatible website or application, I created my own NMBS “route planner” for the iPhone. This is no app though, this is just an iPhone website.
Basicly, this is what you can do:
- fill in departure station
- fill in arrival station
- fill in time and date (of departure)
At this stage of the project, only the basic train details are shown (departure time, arrival time) and up to 3 or 4 different possibilities (depending what the NMBS website replies).
There is no option (and I’m unsure whether there will be in the future) to see details about a selected trip (like stops and station changes).
The site is made in English, but you can choose in what language you want the results, the only problem I’ve seen so far is that for DE and EN all train station names are in French (Antwerp becomes Anvers), but this “bug” lies out of my hands, as all train information is received from the NMBS websites, including station names.
Basicly this is what it does: it opens a HTTP socket to the NMBS site, filling in your details (like date and stations), and gets the reply back (if the NMBS site replies in time, I’ve seen a few time outs).
All unrequired information is cut off, and you remain with just the trip details. Which should just fit your iPhone in landscape mode.
When filling in your station details, please use existing stations names (language shouldn’t matter), including Central, North, South, etc if needed. Requesting the station “Brussels” won’t work and will just display an empty page for now.
Things I’ll be working on:
- layout and design of the trip detail page
- I’ve seen that my Sessions do some weird stuff from time to time (refresh the main page 2x and all sessions are destroyed); but that’s something I’ll have to look in
- Well, I guess most users want more information, so I’ll have to try to get trip details
- and better data handling. Still too much unrequired information.
- Error handling, if e.g. the station doesn’t exist or the date/time is incorrect
Please leave your feedback/bug reports in a comment or per e-mail.