About Friar:
Usage:
- Friar is an HTML5 eBook framework to publish interactive books on Android devices using simply open web standards.
- The Friar Framework is a tool for generating Android ebook apps. It is based on and inspired by the Baker Framework for iOS (www.bakerframework.com) and the name is sort of a play on words.
Usage:
- In this code one function called* loadBook()* which listout all html files from assets folder.
private List<String> loadBook() {
try {
String[] files = getAssets().list("book");
for (String file : files) {
if (file.endsWith(".html")) {
htmlFiles.add(file);
}
}
} catch (IOException e) {
e.printStackTrace();
}
Collections.sort(htmlFiles, new AlphanumComparator());
return htmlFiles;
}
Reference Link:
- This HTML Files is load in a webview.
- webView.loadUrl(BASE_URL + htmlFiles.get(currentPage));



friar can be run it in mac?
ReplyDeletesure
Deleteim trying to try it in eclipse biut its appears some errors
ReplyDeleteHELP ME...
Is there book that explains how to use the Friar framework? what development skills are needed in order to use it?
ReplyDeleteHTML5,a very little Java for use eclipse.
Delete