S solidstate Member Jul 18, 2012 #1 Any one familiar with the Flipboard app? I'm curious if B4A is robust enough to do the following: Would B4A be up to task to create a Flipboard clone? Or a Kindle for Android clone? Could B4A handle rich text "pages" that can flip up and down? Can B4A create "left to right/right to left page turns" like you see in the iPad's eBook reader, or the Kindle Android app?
Any one familiar with the Flipboard app? I'm curious if B4A is robust enough to do the following: Would B4A be up to task to create a Flipboard clone? Or a Kindle for Android clone? Could B4A handle rich text "pages" that can flip up and down? Can B4A create "left to right/right to left page turns" like you see in the iPad's eBook reader, or the Kindle Android app?
vb1992 Well-Known Member Licensed User Longtime User Jul 18, 2012 #2 Here is a good example: http://www.b4x.com/forum/additional...-providing-page-turn-animation.html#post60205 Upvote 0
Here is a good example: http://www.b4x.com/forum/additional...-providing-page-turn-animation.html#post60205
S solidstate Member Jul 18, 2012 #3 Thanks, but from the description, that "component" is for bitmaps images. I'm not trying to create a picture album. As I stated, I was looking for something that would emulate an eReader, i.e., TEXT on a page, not images on a page. Upvote 0
Thanks, but from the description, that "component" is for bitmaps images. I'm not trying to create a picture album. As I stated, I was looking for something that would emulate an eReader, i.e., TEXT on a page, not images on a page.
thedesolatesoul Expert Licensed User Longtime User Jul 18, 2012 #4 When you create the illusion of a page turning, or a board flipping, you WILL have to convert your text(or any rich content) to a bitmap(image), so that you can manipulate the bitmap to show the animation. EDIT: Actually it might be possible to use the Android view animation class, but I do not know how to. Last edited: Jul 18, 2012 Upvote 0
When you create the illusion of a page turning, or a board flipping, you WILL have to convert your text(or any rich content) to a bitmap(image), so that you can manipulate the bitmap to show the animation. EDIT: Actually it might be possible to use the Android view animation class, but I do not know how to.
vb1992 Well-Known Member Licensed User Longtime User Jul 18, 2012 #5 I haven't look at this one, but it looks like a listview is being turned http://www.b4x.com/forum/basic4andr...022-page-turner-works-listview.html#post61582 http://www.b4x.com/forum/basic4andr...ithout-using-page-turn-library.html#post60765 Upvote 0
I haven't look at this one, but it looks like a listview is being turned http://www.b4x.com/forum/basic4andr...022-page-turner-works-listview.html#post61582 http://www.b4x.com/forum/basic4andr...ithout-using-page-turn-library.html#post60765
vb1992 Well-Known Member Licensed User Longtime User Jul 18, 2012 #6 Here is the APP/DEMO Apk file example Attachments PageTurner2.apk PageTurner2.apk 95.1 KB · Views: 437 Upvote 0
S solidstate Member Jul 18, 2012 #7 Thanks for the .apk A few comments. It is very difficult to get the page edge to "start" to turn. It may be on account of the fact that the app doesn't know whether the touch gesture is intended to be a selection of the scroll list, or whether the gesture is supposed to trigger a page turn. I understand that one has to render the next page's text to a bitmap in order to achieve the page flip effect. Would this be true if all one was doing was causing the next page to horizontally scroll right to left, as the Kindle for Android works? Kindle for Android does not use page "flips." Upvote 0
Thanks for the .apk A few comments. It is very difficult to get the page edge to "start" to turn. It may be on account of the fact that the app doesn't know whether the touch gesture is intended to be a selection of the scroll list, or whether the gesture is supposed to trigger a page turn. I understand that one has to render the next page's text to a bitmap in order to achieve the page flip effect. Would this be true if all one was doing was causing the next page to horizontally scroll right to left, as the Kindle for Android works? Kindle for Android does not use page "flips."
S solidstate Member Jul 18, 2012 #8 And what about a rich text viewer? Does B4A have such a component available that would display either HTML or rich text, and then allow some method of sensing if a word within the text viewer is being tapped, selected or touched? Upvote 0
And what about a rich text viewer? Does B4A have such a component available that would display either HTML or rich text, and then allow some method of sensing if a word within the text viewer is being tapped, selected or touched?
vb1992 Well-Known Member Licensed User Longtime User Jul 19, 2012 #9 I had no problem swiping the page back and forth but I didn't test it on all my test devices only one. I am sure you can modify that project to use a webview (html) or Rich Text Library http://www.b4x.com/forum/additional...dates/10680-richstring-library.html#post59476 You Just got to spend a weekend and code a protoype. Upvote 0
I had no problem swiping the page back and forth but I didn't test it on all my test devices only one. I am sure you can modify that project to use a webview (html) or Rich Text Library http://www.b4x.com/forum/additional...dates/10680-richstring-library.html#post59476 You Just got to spend a weekend and code a protoype.
vb1992 Well-Known Member Licensed User Longtime User Jul 19, 2012 #10 I am not a kindle expert, you would have to ask someone else or install it on a kindle Upvote 0
thedesolatesoul Expert Licensed User Longtime User Jul 19, 2012 #11 Nice sample vb Works fine for me Only that on turning the page the underlying page appears linearly even if the page turn is at an angle. Probably a sliding panel. Sent from my GT-I9000 using Tapatalk 2 Upvote 0
Nice sample vb Works fine for me Only that on turning the page the underlying page appears linearly even if the page turn is at an angle. Probably a sliding panel. Sent from my GT-I9000 using Tapatalk 2