- 01-08-2013, 01:13 PM
Thread Author #1
Cascades Webview with reader mode?
Anyone been able to enable the RIM reader mode from within an app, more specifically from within the webview control?
~S_A - 01-08-2013, 04:11 PM #2
i heard there is a work around but i haven't seen any actual code for it yet.
Id love to get it also for my app some of the webpages don't load as nice as they could.BB Quincar - Check out Launch Codes | EveryThing BlackBerry for BB10 - 01-08-2013, 07:55 PM #3
What may work is to invoke the browser as a card.
"Reader mode" is a browser feature, not part of the native HTML stack (or I'm pretty sure it isn't, anyway) - 01-09-2013, 04:10 AM
Thread Author #4
Re: Cascades Webview with reader mode?
I've seen snippets of code that remove the chrome from the window but that isn't the same with the text capabilites etc.
Someone with Twitter, can you tweet @blackberrydev?~S_A - 01-09-2013, 08:40 AM #5
Thunderbuck is correct, "reader" mode is not a property of the WebView, but something they implemented on top of it in the browser. You'd have to reproduce it from scratch...
Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
Follow us on Twitter or Facebook or visit Engenuity's mobile apps page. - 01-09-2013, 10:05 AM
Thread Author #6
~S_A - 01-09-2013, 10:12 AM #7
As I say, invoke the browser as a card and it would appear to the user to be within the app. Don't know for sure that it would bring Reader Mode, but I believe all browser features come over with the card.
I've got my own browser invocation issue I'm struggling with, but I'll try this out to confirm. - 01-09-2013, 10:32 AM
Thread Author #8
~S_A - 01-09-2013, 12:10 PM #9
- 01-09-2013, 12:35 PM #10
I don't think the invoknig a card is the way to go RIM needs to add this as a feature we can use just like refresh and forward and back in browser options.
should be a seamless as possible.BB Quincar - Check out Launch Codes | EveryThing BlackBerry for BB10 - 01-09-2013, 01:04 PM #11
I've never seen a way to invoke the Browser as a card.
Check out my BB10 Cascades Coding Site: http://BBcascades.com/ Blog: http://bbcascadescode.tumblr.com/
My Apps: The Dive Plan (Built for BlackBerry Approved) | Visual Connection | Combo Pics | Beer Math | Random Stories | Logic PuzzlesThanked by:Sith_Apprentice (01-10-2013)
- 01-09-2013, 05:07 PM #12
- 01-10-2013, 05:53 AM
Thread Author #13
~S_A - 01-11-2013, 12:03 AM #14
Sorry. I've actually got a project where this would come in handy, too. Now debating whether I want to push to a browser or add in another page with a WebView.
EDIT: just to add to that, it looks like the reason you can't invoke the browser as a card is that the browser does not EXPOSE a card to invoke. If anyone's writing an alternate browser, this could be an interesting opportunity...Last edited by Thunderbuck; 01-12-2013 at 04:30 PM.
- 01-13-2013, 08:51 AM #15
Wonder what the chances are of RIM opening up some of the source for the BB10 browser? You could just lift the reader code if they were to do that. Actually, since the entire browser front end if HTML/CSS/JS anyway, maybe you could just pull the source code right out of the OS files...
- 01-13-2013, 01:54 PM #16
At its core, Reader Mode is essentially one huge regex thing to pull the text out.
As it stands now, I'm just thrilled I finally got WebView working on a sheet so I can build my little newsreader thingie I've been working on. Refining it into Reader View might be a subsequent step.
Similar Threads
-
Good case with sleep mode, besides otterbox
By Haywirem520 in forum BBOS Phone AccessoriesReplies: 15Last Post: 07-22-2008, 02:12 PM -
Help with UMA mode on the BBCurve
By CurlyQ7978 in forum General BlackBerry DiscussionReplies: 3Last Post: 04-25-2008, 06:11 PM -
Help with vibrating mode
By bombshell4929 in forum BlackBerry Curve 83xxReplies: 3Last Post: 02-18-2008, 04:32 PM -
Problems with holstering mode on the otterbox defender.
By thewesman in forum BBOS Phone AccessoriesReplies: 0Last Post: 12-11-2007, 04:03 PM -
Pearl HORIZONTAL case, with sleeper mode...
By naviwilliams in forum BBOS Phone AccessoriesReplies: 6Last Post: 04-06-2007, 06:30 PM

Reply

















