Android: UK Traffic
I am back working on my UK Traffic application. Here are some screenshots.
Loaded traffic list from selected region. Icons are for test purpose only. They will be redone once I iron all the wrinkles in the UI out. You will note they are coloured for severity. Parsing the TPEG data to extract this was a major pain as none of the Android pull-type parsers perform entity replacement which is what TPEG uses heavily to allow multi-language support. I ended up having to devise a two pass solution which parses the xml on the first pass then fills in the entities on the second. I load the entity definitions I am interested in from a local definition file on start-up of the application. It’s pretty clunky as a solution but sometimes you’ve just got to go with what works.

Master list of regions loaded only once on startup from BBC OPML definition.

Filter dialog lets you switch types on and off from traffic event view.

Comments
Leave a Reply