eBook Reader v1.2 Beta J2ME by Project Gutenberg
The application works by integrating with backend PHP scripts in order to search, retrieve and format, books from Gutenberg. To format a book, first the text file of that book must be downloaded from Gutenberg — only then can it be cut up into smaller, digestible chunks and sent back to the user as a page of the book. The formatting process centres around the screen width of the phone, provided at the time of the request. The URIs for almost all of the books available from Gutenberg are stored in a database — this same database is used for providing the search functionality within the mobile application. Tera-WURFL is also used behind the scenes, for discovering the capabilities of a device making a request and to record which phones are using my application. After trying out many UI technologies for J2ME, I decided to go with J2ME Polish for manipulating the interface of my application. I chose it because it’s lightweight, free and one of the most favoured in the industry. Once a page is sent back to the phone from my script, J2ME Polish is further utilised to render the page according to the configuration set on the user’s device for displaying a book. The page of the book is then saved to their own private library, which the user can view and modify whenever they want. Caching is done automatically on the device in the background so the user doesn’t have to wait to open the next page. Caching is also done server-side incase a user requests the same book and page that matches their configuration and has already been cut up into chunks — it’s done when a user opens the page of a book assuming they are going to want to open the next page — and it’s further done when a user performs a search assuming they are going to want to open one of the books returned from the search.
Download Here