48 |
import android.os.Bundle; |
import android.os.Bundle; |
49 |
import android.os.Handler; |
import android.os.Handler; |
50 |
import android.os.Message; |
import android.os.Message; |
|
import android.util.Log; |
|
51 |
import android.view.ContextMenu; |
import android.view.ContextMenu; |
52 |
import android.view.LayoutInflater; |
import android.view.LayoutInflater; |
53 |
import android.view.Menu; |
import android.view.Menu; |
431 |
class StationsFetchedHandler extends Handler { |
class StationsFetchedHandler extends Handler { |
432 |
@Override |
@Override |
433 |
public void handleMessage(Message msg) { |
public void handleMessage(Message msg) { |
|
Log.e("Handler", "WHAT:" + msg.what); |
|
434 |
|
|
435 |
LocationLookup.LookupStates state = locationLookup.getState(); |
LocationLookup.LookupStates state = locationLookup.getState(); |
436 |
|
|
473 |
builder.setNegativeButton( getString(generic_cancel), new DialogInterface.OnClickListener() { |
builder.setNegativeButton( getString(generic_cancel), new DialogInterface.OnClickListener() { |
474 |
public void onClick(DialogInterface dialog, int id) { |
public void onClick(DialogInterface dialog, int id) { |
475 |
dialog.dismiss(); |
dialog.dismiss(); |
476 |
|
StationList.this.finish(); // Close this Activity |
477 |
} |
} |
478 |
}); |
}); |
479 |
builder.show(); |
builder.show(); |