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

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/TrainInfoList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 239 by torben, Sun Aug 9 09:09:16 2009 UTC revision 240 by torben, Sun Aug 9 09:20:45 2009 UTC
# Line 59  public class TrainInfoList extends ListA Line 59  public class TrainInfoList extends ListA
59                    
60                    
61    
   
62          @Override          @Override
63          protected void onPrepareDialog(int id, Dialog dialog) {          protected void onPrepareDialog(int id, Dialog dialog) {
64                  super.onPrepareDialog(id, dialog);                  super.onPrepareDialog(id, dialog);
# Line 70  public class TrainInfoList extends ListA Line 69  public class TrainInfoList extends ListA
69                  }                  }
70          }          }
71    
   
   
         public void progressDialog() {  
                 dialog = new ProgressDialog(this);  
                 dialog.setMessage("Wait for location fix");  
                 dialog.setCancelable(false);  
                 dialog.show();  
         }  
   
72          public void startLookup() {          public void startLookup() {
73                  isRunning = true;                  isRunning = true;
74                  showDialog(DLG_PROGRESS);                  showDialog(DLG_PROGRESS);
                 //progressDialog();  
75                                    
76                  locator.locateStations();                  locator.locateStations();
77                  stationsFetched.sendEmptyMessageDelayed(FIXTIMEOUT, 20000);                              stationsFetched.sendEmptyMessageDelayed(FIXTIMEOUT, 20000);            

Legend:
Removed from v.239  
changed lines
  Added in v.240

  ViewVC Help
Powered by ViewVC 1.1.20