By Ji Ho Oh
Are there key elements to consider when creating an eReader for mobile devices? What even is an eBook, and how are they formatted? What are the pros and cons of HTML and EPUB, and what are the additional considerations for creating an eReader mobile application? If you’ve ever pondered these technical questions, this one is for you.
An eBook is a book published digitally, but one that cannot be edited. It is also reflowable, meaning any text and images should be formatted and resized to fit on the device on which the eBook is being read. An eBook on a mobile device must be just as readable as it is on a laptop (Wahl, 2018).
eBooks come in many different file formats, though there are a couple that are the most widely distributed: .azw, .pdf, and .epub. AZW is a file type created by Amazon to only be read by the Amazon Kindle and the Kindle apps. PDFs are a special case; they are not technically eBooks because they are not reflowable. However, because they are so widely used for publishing books, they have become an “unofficial” eBook file format (Wahl, 2018). Electronic Publication (EPUB, for short) is the most popular format and can be read on a wide range of devices. So why is EPUB such a popular file format for eBooks?
EPUB has a couple of advantages that attract book publishers or writers. The first is that EPUBs wrap a digital rights management (DRM) around the container. DRM is a copyright protection which prevents unauthorized redistribution of digital media (The Editors of Encyclopaedia Britannica, 2020). The second is standardization. An EPUB standardizes a multitude of factors such as: the manifest, a data structure that details its resources; the metadata which contains information regarding publication and its components; core formatting such as how media types are displayed as well as the minimum styling required for reflowability; and many more. This means that any existing EPUB readers would be able to read any new books published because they share the same readable format.
Once you have chosen which eBook format you are using, decide how your mobile application will store it: online or offline. Storing your books on a centralized web server would mean setting up a client server architecture where only the metadata is stored locally, and all content is fetched from the central server. This means that any updates to content would be automatically pushed to all users and keep them up to date. It would also mean the mobile app will have a much smaller file size.
On the other hand, offline storage is a much quicker and more reliable method of accessing books because it does not rely on the user having internet access. However, file size will be problematic. Our recommendation here depends on the number of books that the client would need to access. If there isn’t an abundance of books, offline storage would be ideal. There could even be the option to download books to the device.
Now, the developer would need to decide how they are going to design and build the application: using native methods or cross-platform tools. The native method means applications are developed exclusively for one platform. For iOS apps, this means using XCode and Swift/Objective C. For Android, developers would use Android Studio and Java/Kotlin (Dennis, 2018). On the other hand, using cross-platform tools converts a website into a mobile application for both iOS and Android. This is done by wrapping it into a web view that the device can show.
Native applications have access to features that cross-platform applications do not have. Cross-platform apps have limited access to the API and developers try not to make assumptions about the available features. Some cross-platform tools have plugins that can replicate or force access to these features but there is a risk in using a plugin that someone else has created. Native applications also boast better performance, up-to-date security, and a more familiar design (Klubnikin, 2017). When it comes to the application itself, a native method will be superior to the cross-platform method. So why are cross-platform applications even created?
- Dennis, M. (2018, December 21). Native vs. Cross – Platform Apps – You’ll Be the Winner . Retrieved from Zeomag: https://www.zeolearn.com/magazine/nativevs-cross-platform-apps-youll-be-the-winner
- Ferrara, D. (2020, February 24). The Pros and Cons for E – Publi shing: EPUB vs. PDF . Retrieved from Lifewire: https://www.lifewire.com/epub-vs-pdf-3467286
- Gardiner, Eileen, & Musto, R. G. (2010). The Electronic Book. In M. F. Suarez, & H. R. Woudhuysen, The Oxford Companion to the Book (p. 164). Oxford: Oxford University Press.
- Klubnikin, A. (2017, May 24). Cross – platform vs Native Mobile App Development: Choosing the Right Development Tools for Your Project . Retrieved from Medium: https://medium.com/all-technology-feeds/cross-platform-vs-nativemobile-app-development-choosing-the-right-dev-tools-for-your-app-project47d0abafee81
- McCoy, B. (2018, April 18). Understanding EPUB 3 . Retrieved from ePub Zone: http://www.epubzone.org/epub-3-overview/understanding-epub-3/
- The Editors of Encyclopaedia Britannica. (2020, January 24). Digital rights management . Retrieved from Encyclopædia Britannica: https://www.britannica.com/topic/digital-rights-management
- Wahl, J. (2018, July 19). What is an eBook? Understanding Why They Work and How to Make Your Own . Retrieved from Learning Hub: https://learn.g2.com/what-is-an-ebook
- Yarmosh, K. (2016, January 6). How Long Does it Take to Make an App? Retrieved from Savvy Apps: https://savvyapps.com/blog/how-long-does-it-take-to-makean-app