/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Log of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2468)

Revision 983 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 11 15:15:04 2010 UTC (13 years, 10 months ago) by torben
File length: 17876 byte(s)
Diff to previous 948
experimental, put the original dialog methods back into place

Revision 948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 2 14:58:44 2010 UTC (13 years, 10 months ago) by torben
File length: 17561 byte(s)
Diff to previous 919
Be a little more large on gps precission, but don't wait as long

Revision 919 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 26 11:06:12 2010 UTC (13 years, 10 months ago) by torben
File length: 17438 byte(s)
Diff to previous 918
More shutdown if destroyed

Revision 918 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 26 11:02:53 2010 UTC (13 years, 10 months ago) by torben
File length: 17349 byte(s)
Diff to previous 917
Stop any background work if the activity is destroyed

Revision 917 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 26 10:50:34 2010 UTC (13 years, 10 months ago) by torben
File length: 17203 byte(s)
Diff to previous 906
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)]


Revision 906 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 25 23:59:58 2010 UTC (13 years, 10 months ago) by torben
File length: 17143 byte(s)
Diff to previous 844
Finish activity if errormsg

Revision 844 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 13 14:52:49 2010 UTC (13 years, 11 months ago) by torben
File length: 17097 byte(s)
Diff to previous 843
Dont't write "nearby stations" in a a messagebox used by all three lookup methods

Revision 843 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 13 13:45:37 2010 UTC (13 years, 11 months ago) by torben
File length: 17098 byte(s)
Diff to previous 731
Finish activities if data lookup failed

Revision 731 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 18 14:02:13 2010 UTC (14 years ago) by torben
File length: 17065 byte(s)
Diff to previous 725
Add support for home/desktop shortcuts

Bump version to 0.7.0 (23)

Revision 725 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 11 05:38:18 2010 UTC (14 years ago) by torben
File length: 16756 byte(s)
Diff to previous 713
Another dialog exception-prevention hack

Revision 713 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 7 15:13:07 2010 UTC (14 years ago) by torben
File length: 16591 byte(s)
Diff to previous 701
Make sure to trim the search string before acting on it

Revision 701 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 3 13:41:04 2010 UTC (14 years ago) by torben
File length: 16572 byte(s)
Diff to previous 652
Ugly hack to prevent those auto-reported dialog related exceptions

Revision 652 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 20 14:17:34 2010 UTC (14 years ago) by torben
File length: 15849 byte(s)
Diff to previous 630
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!)



Revision 630 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 17 15:27:11 2010 UTC (14 years, 2 months ago) by torben
File length: 15361 byte(s)
Diff to previous 579
Catch exceptions

Revision 579 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 08:52:45 2010 UTC (14 years, 3 months ago) by torben
File length: 15118 byte(s)
Diff to previous 578
We only have a location on a searchByLocation() - so this failover wouldn't work anyways

Revision 578 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 08:44:35 2010 UTC (14 years, 3 months ago) by torben
File length: 15770 byte(s)
Diff to previous 566
Remove out-commented code


Revision 566 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 28 10:34:50 2010 UTC (14 years, 3 months ago) by torben
File length: 16447 byte(s)
Diff to previous 564
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)

Revision 564 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 28 09:16:33 2010 UTC (14 years, 3 months ago) by torben
File length: 16496 byte(s)
Diff to previous 563
Use float for lat/long to get some shorter strings

Revision 563 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 28 09:10:44 2010 UTC (14 years, 3 months ago) by torben
File length: 16482 byte(s)
Diff to previous 561
Actually make external string work :)

Revision 561 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 28 08:55:19 2010 UTC (14 years, 3 months ago) by torben
File length: 16479 byte(s)
Diff to previous 557
Externalize strings

Revision 557 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 27 10:04:28 2010 UTC (14 years, 3 months ago) by torben
File length: 15879 byte(s)
Diff to previous 556
Simplify data transfer between these two activities


Revision 556 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 27 06:14:00 2010 UTC (14 years, 3 months ago) by torben
File length: 16367 byte(s)
Diff to previous 555
combined messagebox and activity.finish()

Revision 555 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 27 06:07:27 2010 UTC (14 years, 3 months ago) by torben
File length: 16024 byte(s)
Diff to previous 554
Close activity on search cancel

Revision 554 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 27 05:51:45 2010 UTC (14 years, 3 months ago) by torben
File length: 15969 byte(s)
Diff to previous 552
Nicer location info dialog

Revision 552 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 26 21:17:26 2010 UTC (14 years, 3 months ago) by torben
File length: 15951 byte(s)
Diff to previous 546
DepartureList: Show a message if it is a metro only station

Revision 546 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 22 11:28:56 2010 UTC (14 years, 3 months ago) by torben
File length: 15796 byte(s)
Diff to previous 493
Bump version to 0.5.4
add IE (Intercity Europe) icon
in gps status dialog also show latitude + longitude

Revision 493 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 1 16:47:07 2009 UTC (14 years, 6 months ago) by torben
File length: 15609 byte(s)
Diff to previous 489
Switch to server provided addresses

Revision 489 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 29 14:20:16 2009 UTC (14 years, 6 months ago) by torben
File length: 15785 byte(s)
Diff to previous 484
Let the MylocationOverlay control where the map should be centered

Revision 484 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 29 11:38:58 2009 UTC (14 years, 6 months ago) by torben
File length: 15832 byte(s)
Diff to previous 483
Always read the application name from resource file (to ensure correct upper/lower case)

Revision 483 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 29 10:49:14 2009 UTC (14 years, 6 months ago) by torben
File length: 15819 byte(s)
Diff to previous 482
AboutBox, fixed title, and show a seperate icon if a train is cancelled

Revision 482 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 29 09:38:13 2009 UTC (14 years, 6 months ago) by torben
File length: 15819 byte(s)
Diff to previous 481
Gui tweaks to welcome and better handling of stationlist window title

Revision 481 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 29 08:56:17 2009 UTC (14 years, 6 months ago) by torben
File length: 15868 byte(s)
Diff to previous 480
New gui structure with a initial welcome screen

Revision 480 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 28 12:52:52 2009 UTC (14 years, 6 months ago) by torben
File length: 16430 byte(s)
Diff to previous 478
Also save title

Revision 478 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 28 08:40:32 2009 UTC (14 years, 6 months ago) by torben
File length: 16269 byte(s)
Diff to previous 476
A more correct way to solve the issue fixed in R476

Revision 476 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 28 08:16:58 2009 UTC (14 years, 6 months ago) by torben
File length: 16261 byte(s)
Diff to previous 473
Don't crash if we didn't got a location fix

Revision 473 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 27 13:39:28 2009 UTC (14 years, 6 months ago) by torben
File length: 16135 byte(s)
Diff to previous 441
Completed favorites list feature !?!

Revision 441 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 11 07:23:35 2009 UTC (14 years, 7 months ago) by torben
File length: 15513 byte(s)
Diff to previous 440
Simplify IntSet

Revision 440 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 11 07:18:56 2009 UTC (14 years, 7 months ago) by torben
File length: 15511 byte(s)
Diff to previous 439
Minor refactorings

Revision 439 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 11 07:07:29 2009 UTC (14 years, 7 months ago) by torben
File length: 15495 byte(s)
Diff to previous 435
Use shorter labels, so the menu can be more compact

Revision 435 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 10 11:34:35 2009 UTC (14 years, 7 months ago) by torben
File length: 15505 byte(s)
Diff to previous 433
... also save the favoritelist

Revision 433 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 10 11:30:08 2009 UTC (14 years, 7 months ago) by torben
File length: 15461 byte(s)
Diff to previous 420
Added station favorite list

Revision 420 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 8 11:50:46 2009 UTC (14 years, 7 months ago) by torben
File length: 12531 byte(s)
Diff to previous 419
Don't explicitly call it gps timeout, network location provider can also time out (in case of no network coverage)

Revision 419 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 8 07:31:37 2009 UTC (14 years, 7 months ago) by torben
File length: 12526 byte(s)
Diff to previous 401
Use default android menu icons

Revision 401 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 6 19:13:34 2009 UTC (14 years, 7 months ago) by torben
File length: 12254 byte(s)
Diff to previous 382
Add location info to about box

Revision 382 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 2 10:49:00 2009 UTC (14 years, 7 months ago) by torben
File length: 11954 byte(s)
Diff to previous 381
Typo fix

Revision 381 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 2 10:39:09 2009 UTC (14 years, 7 months ago) by torben
File length: 11954 byte(s)
Diff to previous 374
Basic implementation of searchStationByName feature

Revision 374 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 30 20:38:47 2009 UTC (14 years, 7 months ago) by torben
File length: 9012 byte(s)
Diff to previous 371
Also save location

Revision 371 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 30 19:09:59 2009 UTC (14 years, 7 months ago) by torben
File length: 8823 byte(s)
Diff to previous 369
Added about box

Revision 369 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 30 16:40:48 2009 UTC (14 years, 7 months ago) by torben
File length: 8496 byte(s)
Diff to previous 368
Draw user location on stationmap,
When a station icon is pressed, show the station name in a toaster box

Revision 368 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 30 13:32:20 2009 UTC (14 years, 7 months ago) by torben
File length: 8482 byte(s)
Diff to previous 354
First iteration on stationmap

Revision 354 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 29 18:24:23 2009 UTC (14 years, 7 months ago) by torben
File length: 7390 byte(s)
Diff to previous 336
Remove mock location code

Revision 336 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 23 12:51:49 2009 UTC (14 years, 7 months ago) by torben
File length: 7478 byte(s)
Copied from: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java revision 333
Diff to previous 333
* Enable retry on errors,
* rename TrainInfoList to StationList
* add AdMob advertising

Revision 333 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 23 05:39:04 2009 UTC (14 years, 7 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 6099 byte(s)
Diff to previous 331
New icons


Revision 331 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 22 13:57:13 2009 UTC (14 years, 7 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 6099 byte(s)
Diff to previous 319
Better train icon detection

Revision 319 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 11 12:24:53 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 6099 byte(s)
Diff to previous 317
Provider's : differentiate between an empty returned list or a communication error

Re-organize some of the background work

Revision 317 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 11 09:12:45 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 5628 byte(s)
Diff to previous 316
Do the background address lokkup at a smarter point

Revision 316 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 11 08:48:18 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 4737 byte(s)
Diff to previous 311
Lookup of the stations address is now done in background

Revision 311 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 10 19:11:48 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 5529 byte(s)
Diff to previous 310
When will i learn that i may not commit code with mockLocations enabled ?

Revision 310 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 10 19:09:09 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 5529 byte(s)
Diff to previous 302
Make code work with new servlets (and new db layout)

Revision 302 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 7 13:23:48 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 5526 byte(s)
Diff to previous 294
* StationList is downloaded as iso 8859-1
* Don't use mockup locations

Revision 294 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 1 20:28:55 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 5526 byte(s)
Diff to previous 285
Some work on new xmlStationProvider

Revision 285 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 28 06:34:42 2009 UTC (14 years, 8 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 4561 byte(s)
Diff to previous 260
Safer fail over if there actually was obtained a usable location

Revision 260 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 10 19:44:52 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 4414 byte(s)
Diff to previous 258
No need for copying the loaded station list

Revision 258 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 10 19:37:18 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 4442 byte(s)
Diff to previous 252
Also make the station list work correctly when device is flipped

Revision 252 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 10 10:49:43 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3974 byte(s)
Diff to previous 245
Add more mock locations and a method for removing the test provider

Revision 245 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 19:40:05 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3931 byte(s)
Diff to previous 243
Small mods to the messagebox

Revision 243 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 12:12:33 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 4089 byte(s)
Diff to previous 242
Make the activities behave better if the device is rotated while it is working

Revision 242 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 11:48:36 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3953 byte(s)
Diff to previous 241
Don't crash if there's no location provider

Revision 241 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 11:21:30 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3954 byte(s)
Diff to previous 240
The socket communication with google is now done asynchronously


Revision 240 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 09:20:45 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3455 byte(s)
Diff to previous 239
Remove unused code

Revision 239 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 9 09:09:16 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3647 byte(s)
Diff to previous 237
Launch a map viewer when user clicks the station's address

Revision 237 - (view) (download) (annotate) - [select for diffs]
Added Sat Aug 8 19:02:20 2009 UTC (14 years, 9 months ago) by torben
Original Path: android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java
File length: 3537 byte(s)
First version

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.20