hanchang / friar Goto Github PK
View Code? Open in Web Editor NEWFriar Framework helps you make beautiful Android 2.2+ apps out of HTML5 content. Inspired by the Baker Framework for iOS.
Home Page: http://www.friarframework.com
Friar Framework helps you make beautiful Android 2.2+ apps out of HTML5 content. Inspired by the Baker Framework for iOS.
Home Page: http://www.friarframework.com
When adding files to the book with a space in the filename, the webview browser shows "Page not found".
Hi,
newbie question here: I loaded the project in eclipse, connected my samsung phone and hit the run button: I get three error messages:
...any advice will be really appreciated.
Thanks
Hi im totally new in android, i need to know what to install to prove friar
Hello,
Very appreciate your work. I'd like to use Friar on Manga work that is from right page to left page.
In Baker Framework, they add value "-baker-start-at-page": -1, in books.json to let as choose which page as first page. could Friar be able to assign last page as start page?
Hi!
I am using Acer's tablet which has Android 3.2.
I installed the demo book app to it and launched it. It gave this kind of error:
File:///android_asset/book/Book%20Cover.html is not found.
Any idea what causes this....?
I would like to know what are your plans with Friar, will you maintain it, will you add more features to keep the same functionality's as Baker ?
If someone propose you to add new features, is it something possible?
If yes, under which terms?
Do you just replace the book file in baker? Who has been succeful using this? I nned help please!
Hi all,
I can not embed a video from YouTube in a page. I use the classic integration (with iframe) and video works correctly in a browser. But when I go through friar/android sdk the video does not appear as if it was offline, yet my Nexus 7 is connected to wi-fi.
What is the procedure to embed a video from youtube in a book with Friar?
Thank you very much!
Nicolas
seems it has been abandoned.
I customized my book following the instructions here:
http://www.friarframework.com/tutorials/
However, when I run the app in a simulator, there's like a top menu with the name "Friar Book".
Where do I change it?
Is it in strings.xml?
Thank you
Hi,
I have a button in a book page that execute a JavaScript code (some calculations). I Can't execute the code, the button came HightLight, but the javascript can't execute. I modify this line: webView.getSettings().setJavaScriptEnabled(false); to true. But nothing change. Please Help me !!
Att, Léo.
Feature zoom ?
Hello,
In Baker Framework they have a shelf where automatically appears the new editions of a magazine, it loads from a JSON in a remote server, which lists all HPUBs the user can download without having to update the app in the AppStore.
Is this feature supported by Friar Framework? Is there an alternative for it?
Thanks!
http://www.friarframework.com/ is dead, last commit is six months old... is this project dead?
hi,
i have been using baker to make colorbook applications for a while. i made couple of apps that currentl published on the app store. i want to make the same for the android platform and found your site. i simply copied my working copy of Book folder to the assets folder on your framework. i am able to see my pages on the simulator however scripts do not work and the canvas can not seen .
since i have no idea about android platform
is there a limitation for scripts to work.
i am using https://github.com/williammalone/Simple-HTML5-Drawing-App this script for color book and jquery jplayer for the audio.
i would appreciate if you can advice...
thanks
I have a Baker project that works well. Ported it over to Friar. The Scarlet book worked, but when I put my book folder into project, I am stuck at Uploading friar.apk. Should I be changing something in Manifest to fit my book.json file? I noticed
and am not sure if I should change.
Thank you for your Android port.
I've a simple link link in my app, but clicking on it immediately crashes the app.
02-22 14:35:57.595: W/dalvikvm(6501): threadid=1: thread exiting with uncaught exception (group=0x401f8560)
02-22 14:35:57.595: E/AndroidRuntime(6501): FATAL EXCEPTION: main
02-22 14:35:57.595: E/AndroidRuntime(6501): java.lang.NullPointerException
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.friarframework.FriarBook$FriarWebViewClient.onPageStarted(FriarBook.java:185)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:264)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.os.Handler.dispatchMessage(Handler.java:99)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.os.Looper.loop(Looper.java:130)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.app.ActivityThread.main(ActivityThread.java:3835)
02-22 14:35:57.595: E/AndroidRuntime(6501): at java.lang.reflect.Method.invokeNative(Native Method)
02-22 14:35:57.595: E/AndroidRuntime(6501): at java.lang.reflect.Method.invoke(Method.java:507)
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
02-22 14:35:57.595: E/AndroidRuntime(6501): at dalvik.system.NativeStart.main(Native Method)
I've added so that shouldn't be the thing.
I already work with baker, but i really dont know where to start whit friar, can someone help me???
Some tutorial or something
i will really apreciate it
thanks
Hi, could you make a demo in apk format with some content so we can test it without a development environment?
Thanks, this is looking promising.
I have Baker/Friar working somewhat well on Android. I update Jquery and Jquery Touch Swipe in Friar. Improved the experience. Has anyone gotten the double tab navigation to do anything in Android?
hi!!
I'm doing a magazine with 100 pages, so, I need the menu like in baker version that is showed when you click 2times, but i can't show it, anyone can help me??
Thank you!!!
The book that is included with friar includes an index, how can we display it?
A double tap doesn't work.
Is it a feature that should work in friar?
Hello @hanchang,
It's my first test of friar and it seems there's a problem with gestureDetector which is depreciated. Here's a quote from a popup I have in Eclipse.
This constructor was deprecated in API level 3.
Use GestureDetector(android.content.Context,
android.view.GestureDetector.OnGestureListener) instead.
Could you fix that?
Thanks for this project
Hi
Im testing the example. i use Android-Studio and imported the project.
But if I start the emulator, only the first page (cover) is shown. No navigation, no gesture-swipe etc...
Whats wrong?
I already install the eclipse, the sdk but my project doesnt run...
Please some one that already has it working can helps me???
i dont know what i misiing
I've a simple link link in the html files my app uses, but clicking on it immediately crashes the app.
02-22 14:35:57.595: W/dalvikvm(6501): threadid=1: thread exiting with uncaught exception (group=0x401f8560)
02-22 14:35:57.595: E/AndroidRuntime(6501): FATAL EXCEPTION: main
02-22 14:35:57.595: E/AndroidRuntime(6501): java.lang.NullPointerException
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.friarframework.FriarBook$FriarWebViewClient.onPageStarted(FriarBook.java:185)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:264)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.os.Handler.dispatchMessage(Handler.java:99)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.os.Looper.loop(Looper.java:130)
02-22 14:35:57.595: E/AndroidRuntime(6501): at android.app.ActivityThread.main(ActivityThread.java:3835)
02-22 14:35:57.595: E/AndroidRuntime(6501): at java.lang.reflect.Method.invokeNative(Native Method)
02-22 14:35:57.595: E/AndroidRuntime(6501): at java.lang.reflect.Method.invoke(Method.java:507)
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
02-22 14:35:57.595: E/AndroidRuntime(6501): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
02-22 14:35:57.595: E/AndroidRuntime(6501): at dalvik.system.NativeStart.main(Native Method)
I've added so that shouldn't be the thing.
I have used baker version and included audio and video in java script and add this line webView.getSettings().
setJavaScriptEnabled(true); it does't work in emulator and device, I will used android version 3.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.