views:

167

answers:

2

My question applies to the iBook app for the iPad.

The goal is to be able to open another app on the iPad from within the text of an ebook.

What code should be inserted into an EPUB's XHTML file to create a direct link to another app on the iPad?

A: 

The way to do this is to use a UIDocumentInteractionController. Don't believe it can be done using XHTML. Have a look at these guides: Class API Apple iPad Programming Guide

basically you will be able to open a menu with the option to launch the file (direct link if you want) in any of the apps installed that are registered to support that type of file. Good luck.

Jesse Naugher
+1  A: 

Using a URL scheme you can open other applications.

URL schemes used by the default applications are listed at http://developer.apple.com/safari/library/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

Shaji