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); |
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); |