View Single Post
Old 11-30-2012, 12:34 AM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,697
Karma: 4340186
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623
If you download the latest SDK, then you can see the functions that are available for applications. You can definitely open books within an application, and get a list of the books that were opened last. However, you don't really have control over that list, except to add books to it and to flush it entirely. If you want to remove some books, then you'll probably have to keep a list of the ones to save, flush the whole list, and add back those you want to be there. Anyway, look at the inkview.h file in the SDK to see what functions in the API are available. Here's part of the file:

Code:
int OpenBook(const char *path, const char *parameters, int flags);
void BookReady(const char *path);
char **GetLastOpen();
void AddLastOpen(const char *path);
void OpenLastBooks();
void FlushLastOpen();
rkomar is offline   Reply With Quote