View Single Post
Old 09-09-2010, 02:28 PM   #14
mrspaceman
Edge User
 
it would be great if Entourage could release some beta documentation to us (hint, hint). I am hoping that it will just be a call to an intent to open a book in the reader on the e-ink side. I have Re'd the EsiLibraryProvider, EsiReader and EsiLibrarian apk's.

I have found a few promising bits to do with Intents, so I will try these and see what happens.

andy.


p.s. I have found the following snippet:


Code:
final Intent localIntent = new Intent("android.intent.action.VIEW");
	localIntent.addCategory("entouragesys.intent.category.LIBRARY");
	if ((paramContentItem.getContentType() == 1) || (paramContentItem.getContentType() == 5)
		|| (paramContentItem.getContentType() == 6)) {
		localIntent.setDataAndType(localUri2, "vnd.android.cursor.item/vnd.entouragesys.library.book");
}
which may be what I want.

Last edited by mrspaceman; 09-09-2010 at 02:40 PM.