Components
The application consists of 2 simple Activities:
- Search settings - main
- Results
Other Java classes
- The Moment class is the representation of an exact time expressed in minutes and hours that also has a day type property.
- The Bus Stop class represents a bus stop that defines some information about route direction it belongs, the following stops and the schedule of the vehicle arrivals to this stop.
- The Schedule class represents a collection of arrival times of a Bus Stop on a specific type of day.
- The Special Route class represents a route that is extraordinary due to its timing (such as late night or "less busy" day type routes where the vehicle rides a shorter way, reduced number of stops). These events are not listed in the schedule but they are processed separately.
Operation
Coming soon...
Permissions
The app requires no Permission.
Resources
Layout resource files were created basically using the Android Studios's design view tool. Multiplication of components and other smaller changes were made by editing the XML file in text view.
Menu resource files were created by editing the XML file in text view.
The app does not support different screen sizes and is not compatible with Wear OS or Smart TV-s.
The default language is English but Hunigarian language is also provided as a Local.
All the schedule data is stored in string-arrays in a separated xml file in order to be editable easily.
Loading schedule data from different file input is also supported (implemented) regarding to the future option of choosing from different bus lines to load into the schedule reader.
The layouts use only Android built-in drawables or drawables designed by me.
The app theme and the spinner appearance are defined in the styles.xml resource file.