James Wang wrote: > Hi, > We are going to develop an app supporting 8000 * 8000 jpeg file (over > hundreds of Megabytes). > Is there any way to achieve it in ADP1?
Step #1: Don't do that. Step #2: Generate 10,000 tiles that are 80*80 instead (100 * 100 tiles). Step #3: Render tiles on-screen by drawing them on the Canvas, and support swipe gestures to move through the image by replacing tiles, much like Google Maps works. You would need to do this on pretty much any platform (mobile, Web, even desktops if you don't want to mandate 64-bit and >16GB of RAM). Bear in mind that a JPEG of "over hundreds of Megabytes", when uncompressed for display, will require many GB of RAM. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

