Sticky Revision: |
depend on simple xml
closer to a usable build - but not there yet
gradle
enable tritinfo
Remove in-app billing for now
Add billing code
Version 1.1.12 (68) Make S-train Icons work again
Added platform to departure view
Avoid NullPointerException when trying to load metro data from a saved instance
Only use aliases if it wasn't null (prevent NPE) Bump version to 1.1.9 / 64
refactor byName search - put alias matching into it's own function
Only search aliases, if we didn't get a match in the normal byName search
Offline station provider - also look at aliases when searching byName
Bump version to 1.1.7 (and in shotcut onload just handle all exceptions equally)
Make shortcut creation work again
don't crash in welcomemessage if user switches away from the app
also send lookup By name dummy / statistics requests
don't crash when registering the exception handler
also set an count on add/remove favorites
refactor favorites handling to a seperate class and add favorite adder/remover to departurelist
Add basic about screen (and add /bin/ to svn:ignore)
Also work on temporary stations container while loading from file
Work on a tmpStations list while doing the download and only switch over when it's complete Bump versionCode to 58
If station list is old, download a new one in silence Bump version to 1.1.4 (57)
Also keep track of how many entries we have (there should be 8 but according to the submitted stack traces, it is not allways the case)
We are allowed to slay the background task if the user exits the application.
Also save the search string
The showing of the name search text field is not dependent on savedInstanceState
Make sure we actually have a stationlist Bump version to 1.1.2 (55)
You can't abort the station download
Actually keep track of how many records there are in the client side cache
Stop the AsyncTask if user exits program
Add missing translation
Flesh out all logic from TrainInfoCommon so it just contains simple beans
add background statistics package senders
Only show distance if the stationlist is in findNearest mode
After download remember to update the byname helper fields
catch invalid class exception - if serializable layout changes just download a new list
searchbylocation allways keeps track of the 8 nearest stations. searchByName now has to name helper fields in StationEntry to make the search faster (so we don't do the same string transformations over and over again)
Minor cleanups (imports etc)
Move the Toast message to onPostExecute (can create gui items on non-gui thread)
Log the last loadtime
Move settings to optionsmenu and create a menu item for reloading the stationsDB
First working version with offline stationlist
Binary serialisation is way faster
First and very rude attempt at creating offLine stations
now i've inserted this check in stationlist and departurelist, might make it here as well
Fix another NPE
.... also call show() on the newly created Toast object
Make sure that we have some stations to plot (close a auto-reported NPE error)
Add icon for IL (intercity lyn tog)
Remove TODO: - can't see anything that can be cleaned up
Use another menu icon for GPS/location
only enable GPS/location options menuitem if we have a location
Add preferences
only enable notifications optionsmenu item if this view actually has notifs
Make sure to hide notification item if there is no notifications
remove unneeded getter and setter
Add detailed DepartureView
forgot imports
don't crash if we couln't launch google maps (or other geo: uri handler)
Remove completed todo's - we actually can differentiate between comm errors and downed backend site
Use the fact that we now have a StationENtry in the timetable resul
Move StationEntry to it's own java file (and thereby making it a top-level class)
Don't use www in about url
Send an error xml doc when banedk is unavailable
More translations
More comments
Damn - this != which was commited in #1262 was only a test and should never have been committed
A few comments
don't close the activity if there were no arrivals or departures for that train type translated the message shown if there were no data
Make notification icon clicable (and add a little padding to make it easier to hit)
Another translation
More translation
Begin a more complete translation
Split regional and stog to different lists bump version to 0.9.5(41)
Prepare traininfo fetcher for regional/stog split
Seems like Handler.removeMessages() removed that annoying bug so feeling lucky i'm removing this safeguard Bumping version to 0.9.4.2 (40)
Yet another attempt at silence those awfull autoposted exceptions ....
One more try at silence exceptions
Silence an exception
PassiveProvider is not enough
Remove the never used lastKnownLocation bit
Rename lookupfunctions to have similar names
rename lookupStations -> lookupStationsByLocation
Make cache cleanup code a little more elegant
Also do some householding when exiting the welcome-screen
Show map at a reasonable zoom level
Make sure the shortcut string is valid
If we couldn't find a position and the user cancels, then close this activity
Remove debug output
Poll geo posisions from LocationLookup instead of pushing via a handler
When using gps provider, show satellite count to the user
CheckUpdates is now in androidutils
More cleanup
Cleanup
always try with an url no matter whether urlencoding failed
Make the metro texts and the button texts a little larger
Experimental #5, update TrainInfo client to use common data-beans
add a map of the metro-lines
Fix typo
Revert back to production URL
First iteration of metro support
Lower the timeout for connecting to departure backend (45 sek -> 30 sek)
Code sync towards metro client-side feature
Let the cacheitem figure out wether it is expired
Fix the purgeOld methods ... the previous implementation could throw an exception :( Do a versionCode bump to 32->33
Only use 4 decimals for latitude/longitude
Do the cleanup in onCreate before starting any background job - so the cleanup and background work doesn't collide
Clean up the cache to avoid OutOfMemoryError exceptions
Re-order onDestroy so they are shut down in right order
use append(char[], int offset, int length) as it is more effective
Only wait 15 seconds (was 17.5) for a gps fix and a versionCode bump to 31
Only try 3 times and then show the cancel button to abort
Remove outcommented "safe" dialog method-wrappers
switch the last 2 xml providers away from 2-step lookup
Go away from 2-step station lookup (so now station-cache actually works) No i just need to do the same operation for the 2 other xml providers
remember to actually save the stations
Add client-side station cache
Only try to set departures if we actually have some
externalize and translate 2 more strings
clean imports
experimental, put the original dialog methods back into place
Add support for showing station-notifications
add support for parsing notification messages from departure xml docs
Be a little more large on gps precission, but don't wait as long
More shutdown if destroyed
Stop any background work if the activity is destroyed
Attempt to silence this exception java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. [in ListView(16908298, class android.widget.ListView) with Adapter(class dk.thoerup.traininfo.DepartureListAdapter)]
Dont request features before oncreate is called
update to new CheckUpdates api
Finish activity if errormsg
Disable splash screen
Dont't write "nearby stations" in a a messagebox used by all three lookup methods
Finish activities if data lookup failed
Enable forward navigation from timetable list to a new departure list
Switch to ListActivity
Add support for fetching arrivals as well
Completely hide distance textview
Add SplashScreen
Don't show distance to station, unless we really have one
Add support for home/desktop shortcuts Bump version to 0.7.0 (23)
Another dialog exception-prevention hack
Enable auto-update check
Make sure to trim the search string before acting on it
Ugly hack to prevent those auto-reported dialog related exceptions
Mark debug stations as regional stations
Switch to using type ("S2" vs "FJRN") for differentiating between regional trains and s-tog (corresponding change R697 on TrainInfoService)
Bug fix: If we retry a station lookup we should retry with the method used in the previous attempt maybe this resolves all the reported null pointer exceptions from name lookup (I should verify this tonight!)
Catch exceptions
We only have a location on a searchByLocation() - so this failover wouldn't work anyways
Remove out-commented code
Mark the google provider as deprecated
remove old code (stationcode var)
revert to r571 (before widget code)
Stationcode is no longer used
Move widget to its own package
Code.sync: first try at widget
Only try to save lastknown if there actually _is_ a last known location
Version 0.6.1 Added stacktrace postback library
Go back to main menu, if it couldn't find any stations (probably if you did af by-name search for a non-existing station)
Use float for lat/long to get some shorter strings
Actually make external string work :)
Externalize strings
Add icons for the station to indicate which train types they service
Simplify data transfer between these two activities
combined messagebox and activity.finish()
Close activity on search cancel
Nicer location info dialog
DepartureList: Show a message if it is a metro only station
Extract station types from xml
Bump version to 0.5.4 add IE (Intercity Europe) icon in gps status dialog also show latitude + longitude
Bump to 0.5.2
If a particular train does not service the entire line, mark it with a yellow icon
All the beans must be serializable (or the application will crash if the user presses the home/start-page button)
Switch to server provided addresses
Reverted previous commit
Reuse the existing views if possible
Let the MylocationOverlay control where the map should be centered
enable save of lastKnownLocation
Simpler image lookup code
Added icons for eurocity and svenska jernbaner
Always read the application name from resource file (to ensure correct upper/lower case)
AboutBox, fixed title, and show a seperate icon if a train is cancelled
Gui tweaks to welcome and better handling of stationlist window title
New gui structure with a initial welcome screen
Also save title
A more correct way to solve the issue fixed in R476
Don't crash if we didn't got a location fix
Remove unneeded imports
Completed favorites list feature !?!
Simplify IntSet
Minor refactorings
Use shorter labels, so the menu can be more compact
Redirect back to production server
... also save the favoritelist
Added station favorite list
Don't explicitly call it gps timeout, network location provider can also time out (in case of no network coverage)
Use default android menu icons
Add location info to about box
Current Location can still be interesting for some trains
Also cache timetable entries
Restructured client-side cache to a structure similar to that used in the servlets
Prepare for release 0.3
Encode searchname in iso8859-1
Typo fix
Basic implementation of searchStationByName feature
Also save location
Added about box
Disable gps when leaving map activity
Draw user location on stationmap, When a station icon is pressed, show the station name in a toaster box
First iteration on stationmap
Remove unnecessary log statement
Minor gui tweaks to timetable list
First workable version with timetable feature
Code sync
More debug data
CodeSync towards timetable feature
Correction to previous commit
Extract service base to a common static final string for easy switch to other service locations
Remove mock location code
First take on timetable parser
Simplify icon selection a bit
Force UTF8 on this file, and alter to use correct station code
Relax the gps precision requirements
* Enable retry on errors, * rename TrainInfoList to StationList * add AdMob advertising
New icons
Better train icon detection
Better train icon detection
Don't return the departures as unmodifiable
Provider's : differentiate between an empty returned list or a communication error Re-organize some of the background work
Silence chatty debug info
Do the background address lokkup at a smarter point
Lookup of the stations address is now done in background
Don't register as a dtd handler
When will i learn that i may not commit code with mockLocations enabled ?
Make code work with new servlets (and new db layout)
* StationList is downloaded as iso 8859-1 * Don't use mockup locations
Some work on new xmlStationProvider
Add aarhus to list of mock locations
Remove unused code
Better balancing if both gps and network location providers are enabled
Safer fail over if there actually was obtained a usable location
Make downloadUtil a little more intelligent
No need for copying the loaded station list
Also make the station list work correctly when device is flipped
Make departurelist work correctly when device is flipped
Added Hillerød station since it is both stog and regional train station
Clean up imports
a bit more on the stationprovider refactoring
Refactored the station lookup into a provider interface
Add more mock locations and a method for removing the test provider
both Ra and Re are regional trains
Add a icon to the departures to show the train type
Add train number to departure list
Use a longer timeout for the xml data
Small mods to the messagebox
Draw a small icon next to the departure if there's extra information
Make the activities behave better if the device is rotated while it is working
Don't crash if there's no location provider
The socket communication with google is now done asynchronously
Remove unused code
Launch a map viewer when user clicks the station's address
Create a utility class for downloading xml docs, and make fetching of departure data asynchronous
First version
ViewVC Help | |
Powered by ViewVC 1.1.20 |