3

I'm looking to develop an Android app where users can pay for and download publications (mostly teaching materials, possibly books, pamphlets, etc.) to their phone. I'm trying to figure out which document format to use, but am unsure what is out there and what would suit my needs. The needs I see:

  1. Renders well in a mobile environment (PDF & HTML are probably out)
  2. Allows for text, images, hierarchy (table of contents, sections, chapters, etc.) at a minimum. 2b. Preferably with an option to eventually have embedded video & sound (though these aren't deal breakers)
  3. Has a free / open source rendering engine/library (my budget doesn't allow for a lot)
  4. Supports download to the device for offline viewing (so no Google Docs or similar)
  5. Easily supports search features via API or built-in to a derived View class
  6. Is a format that publishers can already use without me needing to create document editing tools.
  7. Can be embedded into the application (no firing off Intents or similar)

I envision an app that can be taken into classroom environments, whether on a phone or tablet, and be used to have the teacher's notes, downloaded materials, etc. for reference or possibly output to a display if the device has HDMI out or similar.

What is available to do this, if anything? If something doesn't exactly fit the bill, is there anything that's kind of close where maybe some glue logic or similar could round it out into something usable?

MCLLC
  • 496
  • 4
  • 12

1 Answers1

0

I don't understand why HTML is out. It meets most (if not all) of your requirements. And, using WebView, it renders very well. I use it for all my help files and it works like a champ.

If you want to bundle an entire document into a single file for distribution then epub is a good choice. Fortunately there is an epub library that works on Android (though I haven't tried it yet). See http://www.siegmann.nl/epublib/android. It is discussed here. There may be others as well. Using epub is nice as there are any number of free tools that can be used to create and edit these documents.

Mark

Community
  • 1
  • 1
melston
  • 2,198
  • 22
  • 39
  • SUPER! I didn't even think about epub. The reason I'm leery of HTML is due to issues of distribution, content creation by publishers (HTML editors aren't necessarily as friendly as word processors), browser compatibility concerns, packaging of content, etc. I'll look more at epub, it sounds like it may be just up my alley! – MCLLC Sep 11 '12 at 23:28