FlipBook component
Hello everyone,
I'm creating a FlipBook component for Titanium mobile for the iPad.
Is in its first version, and all who wish to use it, have questions or can help me, leave a message here.
You can take the component with an example:
https://github.com/adrianopaladini/FlipBook-Titanium
9 Answers
-
Very nice. ;)
With a combination of toImage() and the imageAsCropped() code I added to my SDK, it would be cool to actually to do this on the fly to 'flip' the native UI of an app too.
cheers,
kosso -
Holy….damn dude this is a sick container!
I'm looking at it now it's really clean.
I'm trying to add functions to it myself too, but will look at youre updates.
By the way some minor question, i'm looking throught the code and have a test label which constantly shows me the available memory.But how is memory handled?
-
I've extended the flipbook component to be able to use pdfs annotated with hyperlinks. If you go to http://www.quru.com/appcelerator you'll find some instructions on where to download the code from and how to use it.
-
hi!
great component, works fine on iOs!!. But, has somebody tried to use on android? It only does not work, but the app crashes without any error message.
I can't figure out where is the problem, there's no iphone/ipad exclusive APIs, so it should work on android without any major change, isn't it?
Tested on titanium 1.5.1 and 1.6.0, android emulator and android device (samsung galaxy tab) on mac platform.
thanks!
javier -
Hey Adriano!
Did you ever figure out why the flipbook doesn't load sometimes?
The strange thing is this problem occurs for me only on the simulator, it never did on the iPad 1..
But now with the iPad 2 it also sometimes hangs on trying to load the flipbook.I'm trying to figure out why it happens too, but maybe you already know
thanks in advance!
-
Hello, I simple question. Has anyone tested the app in the Iphone? I've try it and it doesn't work correctly. Works fine in the simulator but when I load the app in the Iphone it just doesnt work. It loads very, very slow and it doesn't turn pages. Is it the code only for Ipad?
-
Got a question, I've been working on a story function (like I said earlier) but somehow It never changes the text on the first flip, but starts changing it on the 2nd flip.
I think i'm getting a little confused with the use of flipbook_actualPage
EDIT: The bug you have with loading pages does not occur on the device itself atleast I tried replicating it numerous times but it loads fine
EDIT 2:
I've added some stuff but have no idea how Github works so that sucks.
My 'add story' functions fails atm, because the string errors out which I don't know why
But I added the option to show and hide a info button in the top right corner.
and the function to play a sound and/or voiceOverit creates a player, and if a page is flipped it first stops and release the current player before creating it again, it also release the player when the sound is complete.
the backgroundsound has a setLooping: true/false option too.
-
Really nice!
What would you do if, instead of the images, I wanted to use webview.js pages? AND, when loaded, I wanted those to Scroll up and down? SO, like the wired or esquire apps on iTunes App store, you can scroll BETWEEN stories and then to read a story you scroll up and down. Thanks
-
Thanks for this, it's a great bit of code.
I've extended it by writing a script to take a multi-page pdf and split it into separate pages, convert them to jpegs and parse every page for url or email links. I've also modified the code to add hotspots onto the pages so you can navigate to the urls by launching Safari or send an email by clicking on the links in the pages. I've also added first and last page buttons.
Has anyone worked on the ability to zoom or landscape mode?