Ejemplo n.º 1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String path = getIntent().getStringExtra("org.jessies.dalvikexplorer.Path");
    if (path == null) {
      path = "/";
    }

    setListAdapter(new BetterArrayAdapter<FileListItem>(this, directoryItems(path), true));
    setTitle(path + " (" + getListAdapter().getCount() + ")");
  }
Ejemplo n.º 2
0
 // The system's default time zone might have changed while we slept.
 @Override
 protected void onResume() {
   super.onResume();
   updateTimeZones();
 }
Ejemplo n.º 3
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   updateTimeZones();
 }