picview/src/com/google/android/apps/picview/data/Album.java
public static List<Album> parseFromPicasaXml(String xmlStr) {
    PicasaAlbumsSaxHandler handler = new PicasaAlbumsSaxHandler();
    try {
      Xml.parse(xmlStr, handler);
      return handler.getAlbums();
    } catch (SAXException e) {
      Log.e(TAG, e.getMessage(), e);
    }
    return new ArrayList<Album>();
  }
/**
   * Parses Picasa albums XML and returns a list of albums.
   */
Parses Picasa albums XML and returns a list of albums.
Parses Picasa albums XML and returns a list of albums .
public static List<Album> parseFromPicasaXml(String xmlStr) {
    PicasaAlbumsSaxHandler handler = new PicasaAlbumsSaxHandler();
    try {
      Xml.parse(xmlStr, handler);
      return handler.getAlbums();
    } catch (SAXException e) {
      Log.e(TAG, e.getMessage(), e);
    }
    return new ArrayList<Album>();
  }
public static List < Album > parseFromPicasaXml ( String xmlStr ) { PicasaAlbumsSaxHandler handler = new PicasaAlbumsSaxHandler ( ) ; try { Xml . parse ( xmlStr , handler ) ; return handler . getAlbums ( ) ; } catch ( SAXException e ) { Log . e ( TAG , e . getMessage ( ) , e ) ; } return new ArrayList < Album > ( ) ; }
Parses Picasa albums XML and returns a list of albums.
Parses Picasa albums XML and returns a list of albums .