Patent ID: 8145766

Claim:
A method for downloading an attachment to an attachment viewer of a portable electronic device, said method comprising: sending an initial request from said attachment viewer to a server in response to receipt of an email message identifying said attachment by said portable electronic device, said request including a display size and a type of said portable electronic device; accessing a graph structure representing a map of said attachment from said server, said graph structure having been previously built on said server; reconstructing said graph structure in response to said initial request and encapsulating said graph structure in data having an attachment viewer readable format, said data being stored on said server; and i) downloading an initial chunk of said data from said server to said attachment viewer responsive to said initial request; ii) storing said downloaded chunk of said data on said portable electronic device prior to display thereof; iii) displaying said stored chunk of said data on said portable electronic device; iv) immediately upon displaying said stored chunk of said data and detecting scrolling input, automatically sending a request to download a respective next chunk of said data from said server; v) responsive to said request to download said respective next chunk of said data, downloading said respective next chunk of said data from said server; and vi) while data chunks of said data remain to be downloaded from said server, performing steps ii) to v).