Re: [android-developers] High performance access on static data: What is your approach?

2009-11-24 Thread Dianne Hackborn
If performance is your main goal, a binary data blob with your own defined structure is a likely candidate. The current asset manager has a limit of 1MB for reading a compressed data stream; if you are wanting to do random access, you could store it uncompressed in the .apk and open a direct fd to

[android-developers] High performance access on static data: What is your approach?

2009-11-24 Thread Marc Reichelt
Hi! I am writing a program where I have to access some static data, and now I am looking for the best method of how to include them into the project. This is what I found out by now: 1. Reading in the data by parsing an XML is *slow* (even using the SAX parser). 2. Reading the data by parsing a