Coder Social home page Coder Social logo

hanchang / friar Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 19.0 2.18 MB

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

Java 8.86% JavaScript 91.14%

friar's People

Contributors

hanchang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

friar's Issues

problems with eclipse

Hi,

newbie question here: I loaded the project in eclipse, connected my samsung phone and hit the run button: I get three error messages:

  1. the project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object
    2)The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
  2. Unable to resolve target 'android-8'

...any advice will be really appreciated.

Thanks

Can I choose which page as first page?

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?

Demo book doesn't work

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....?

new features

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?

How do you use this?

Do you just replace the book file in baker? Who has been succeful using this? I nned help please!

Embedding youtube video on a page

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

JavaScript

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.

Shelf, to download multiple editions of the same magazine

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!

scripts dont run on simulator

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

Uploading friar.apk stuck

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.

Opening links crashes the app

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 need some tutorial

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

demo apk

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.

Tap Navigation

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?

how to show the menu ??

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!!!

How to show the index of the book?

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?

gestureDetector depreciated

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

Example projekt from here - no functions?

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 really need some helps

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

Opening links crashes the app

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.

Audio and Video does't work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.