예제 #1
0
  public void initialize() {
    setContentView(R.layout.main);
    context = this;
    b = Backend.getInstance(context);
    c = new Controller(context, b.list_albums, b);
    gv = (GridView) findViewById(R.id.gridview);

    // show the user all of the current albums

    displayAlbums();
  }
예제 #2
0
 public void onPause() {
   super.onPause();
   b.writeApp(b.list_albums);
 }