[APP][NST/G] Google(ish) News - Nook Touch Themes and Apps

5-31-21 I've ceased development on this app because I think there is a better alternative. See post #7.
*updated to version 1.3, adding error trap for discontinued or blank feeds*
It's been awhile since the demise of the last working version of Genie Widget (aka Google News and Weather) but not so long since the big G retooled news.google.com so that our browsers can no longer deal with it and also put the kibosh on the Google News RSS feeds. Sigh.
I have a work-around
Google News 1.3 for the NST/G exploits the "alerts" that Google offers on news topics. These alerts can be optioned in the form of RSS feeds. My app downloads the HTML source for the feed, picks out all the good stuff and trashes all the rest, then builds up a local HTML document which is easily displayed by our browsers (I highly recommend Opera Mobile for ease of scrolling and general all-around function). You can build up your own topics, change your mind, mix them about, read that one more story you didn't get to the first time around, etc. I'm not saying that your browser will negotiate every target link. Some newspaper sites have just become too much. That was true even when Genie Widget was still working. But updating Opera Mobile for TLS 1.2 solves much of that. See this post for details.. The beauty of this app is in the simplicity. It's entirely browser-based once the feeds are downloaded, so you're not going back and forth between the app and your browser (like the current Google News app.......). Designed for both portrait and landscape.
Requirements
1. Android 2.1 has a security issue with opening local HTML files. In order for Google News to work properly you need to address that. Included in the zip below is a tiny app, android-open-in-browser-0.0.4-4-debug. Install that. It's not my app but I have used it for years and wish I could credit the originator.
2. This is a Tasker-generated app. If you already have one of my other Tasker-generated apps or have previously installed GApps, you don't need the two Google maps library files included in the zip and can delete them. If you do need them, copy the two files into the locations shown below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
3. Create a folder in the root directory of your sdcard: Google News (exactly as shown)
4. Install the app itself, Google News.1.apk
How to use
Before you run the app you need to select some news categories, set up the feeds, get the URLs, blah-blah-blah. All of this is covered in the PDF included with the zip. It may seem a little annoying at the start, but it goes quickly once you get started and it's not like you have to do it every time you use the app. You're just setting up your news topics, just as if you were using the current Google News (either the app or the web version). Once you have your topics and URLs and have edited the included text file google_rss_feeds.txt, copy that into the Google News folder of your sdcard.
Note: recently (June 2019) the big G has not been very consistent with the RSS feeds. Some days they are "empty" but come back the next day with lots of stories. Some feed topics simply "die" and a minor change in the topic will resurrect them (change "World" to "World news", as an example). Version 1.3 includes a trap for these eventualities so that the app should not crash, even if your first feed comes up empty. To inspect/edit your feeds, point your browser (on your PC) to your Google Alerts page. If you are signed in this will be found among the options on the Google home page, in the upper right corner where the "apps" grid is shown.
Now you're good to go. Start the app, make sure you're connected to WiFi. There are only three buttons on the app screen. The first one, "Fetch the news" does just that. You will see a little toast that the first news category is being prepared. Once that is done, you will be taken to the browser and that page will open. Meanwhile the remaining pages are being downloaded and reconstructed in the background.
The news page is very simple. I tried to aim for readability over all other considerations (this is the reason the news items are in bold black, even though they are the external links). I have my Opera Mobile set to 100% page zoom. It looks good to me, but you could probably get away with 75%. External websites are another matter. At the title bar left is a drop-down menu button that gives you access to your other news topics. Since no fixed navbar schemes work under Android 2.1, there is a duplicate drop-up menu bar at the end of the page. The use of NoRefresh, or to a lesser extent FastMode, is a plus.
Edit: you cannot use this app with Opera Mini. It lacks the ability to open local HTML files.
The second option on the opening screen, "Read old news" sounds a bit daft, but I just thought maybe someone might have been looking at the topic pages, saw something that interested them and then got interrupted. So this option opens the first local file in the browser again and you can navigate from there. Strictly speaking, WiFi is not needed to browse the local files once they have been created, but it is needed to pursue any stories.
The third option simply dismisses the app screen.
Whew! So this is new...and I think I exterminated all the bugs, but I did not try other browsers. I'm open to suggestions and would appreciate feedback.

Google alert change? No option for RSS alerts anymore...
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!

v619284 said:
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
I'm away from home right now but my copy of the app is working so the RSS feeds must still exist. I'll have to sit down with my instructions in front of the computer and see what mischief they've done. Thanks for letting me know.

v619284 said:
If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
OK, so I've run through the instructions sitting at my PC. Everything is correct although Firefox no longer wants to open the RSS feed page as anything other than an xml "text" file. That just means the image on page 4 needs updating.
As far as page 3, everything is currently exactly as shown. Just to be sure, you have to be signed in to Google on your browser before you do any of this. Then when you get to the screen depicted on page 3 you need to change the "Deliver to" option to RSS feed. But even before that, it's important not to get sucked into the email alert business back on page 2. Do NOT click on "Create Alert" there, only on "Show options". That's how you get to the screen I show on page 3.
When you finally get to click on the little RSS symbol shown on the lower half of page 3, you (at least on Firefox) may end up at a page of xml code, or perhaps your browser may show a news feed page. Regardless, the URL shown for the page is the same and it's what you need to copy, just as described on page 4.
Let me know if you are still having issues with this.

v619284 said:
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
So a few days after I wrote my last post, the app stopped working for me. It just hangs on "Preparing......News"
Google has apparently changed the format of their RSS xml file. Right in the middle of something else at the moment, but I will get it fixed.
Nope, nix that. After fooling around with the app and an xml file from the Big G, I find nothing out of place and it seems the app is now working again
They're just messing with us.
Edit: Indeed they are. Today I caught another malfunction but this time looked at the Tasker routines for an error. Google is sending out (at least today) RSS feeds with empty content fields. That messes up my app. So I wrote an error trap for that. Updated in first post. Have to watch the big G like a hawk....

v619284 said:
If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
Whilst looking around for a solution to a different issue, I came across this: https://medium.com/@cassandragraft/...tion-not-appearing-heres-the-fix-bf842ca32b88
It appears to address the issue you describe. I never encountered the issue, but obviously some people have.
The Big G is making me very angry lately. Even version 1.2 with a new error trap is crashing. I'm finding that some of my feeds are "empty". The skeleton of the RSS file is there but there is no content populating the file. A category as ordinary as "world" is simply blank. This is new and very annoying. Just a change of topic to "world news" brings up a list of stories longer than your arm. I encountered this before with "science" and fixed it with a slight change in name, so I should have seen this coming. It's a nasty game Google seems to be playing....
Anyway, if the app crashes on the first topic it leaves an overlay artifact behind when you exit. To remove this, go to the App Manager and force stop the app. I will work on a fix which will alert you to the effect that the feed appears dead but allow the app to complete the download of whatever is still working and exit properly.
Grr....
Edit: App updated to v1.3 in first post. I hope that solves the problems. For now.

As I mentioned in my edit of the first post, I think my app is exhibiting creakiness already owing to Opera Mobile's increasing difficulty negotiating many websites.
I have an alternative to suggest, however, that is totally browser based. It seems to work "OK" with Opera Mobile although text display is a bit small with a default zoom of 100%. In Opera Mini, however, it shines, especially with NoRefresh.
Thanks to XDA member @SJT75 , I found out about a list of text-only news sites. One of them is a text version of Google News! The list is at: https://greycoder.com/a-list-of-text-only-new-sites/
While the Google News option does not allow for custom categories (hey, there's an app for that!), it does cover all the usual suspects. Even better, all of the links lead to text-only versions of the sources. Occasionally you go to a page and find it could not be fetched by whatever mechanism the author is using, but pages (even those error ones) include a link to the original source
Also notable on the list are the NPR and CNN sites. Both work well.

Related

Looking for beta testers for new Honeycomb App - What to Watch on Netflix

***** Updated June 3, 2011 *****
Thanks again to everyone who helped with the beta testing. Just wanted you to know that I just posted version 1 to the Android Market. It's free and you can get it here:
https://market.android.com/details?id=com.greggreno.whattowatch
-Gregg
***** Updated May 5, 2011 *****
Uploaded a new version to the same location. Here are the changes:
- Improved the scrolling position after adding more titles to the bottom, but still not perfect
- Fix bug leaving the Netflix registration window open
- Set maximum title list retrieval to 50 at a time
- Fixed bug with extra Edit Search Criteria icon showing in apps list
- Fixed size and look of loading images
- Added ability to turn off ads by buying an unlocker from the Android market
Netflix still hasn't fixed their problems with TV series and getting the data right in their API
***************************
Hi all. I've been working on a new Honeycomb only app called What To Watch, and I'm looking for some beta testers. Anyone interested in helping out?
I wanted a better way to browse for Netflix movies and also manage my queues. For example, I wanted to do something like "show me all Sci Fi movies available on Instant with a 3 star rating or higher, rated PG-13 or R, sorted by release date". I couldn't find any other web site or app to do this, so I figured I would build it myself.
There are 3 main sections:
1) My Searches - this is where you can create your own searches and save them for later. I create two to start with. Click on one and it will display the list in the panel on the right, 25 at a time. Once you click on one of the My Seaches items, you can edit it by long pressing it or clicking the Edit button at the top. Note that this uses a beta API from Netflix called OData. It's the only API that lets you do sophisticated searches like this, but unfortunately it is subject to change from Netflix and it may not always be current with the main Netflix library.
2) Netflix Queues - what you would expect. For example, what is in your DVD and Instant queues.
3) Top Lists - this comes from the Netflix web site rather than the API. It shows what the top titles are for each category. This method won't show the star ratings until you drill into a particular title.
You can download the apk here (note this is case sensitive):
http://jigawattlabs.com/temp/WhatToWatch.apk
Known issues:
This is the first release. Should probably call it an Alpha!
Authenticating with Netflix isn't quite right yet. You may wind up with the web browser still open after exiting the app, and you may get another instance of the app. But just exit everything and it should be ok
There is a bug with the Netflix API with TV series and specials. This is a problem on their end, so you might get some unexpected results when browsing TV shows
I would appreciate any and all comments in terms of general UI impressions, bugs, performance, usability.
You can reach me directly at [email protected].
Thanks!
-Gregg Reno
I just tried it out, seems to work great. I just wish there was a way to actually watch Netflix on my zoom
Thanks for trying it out. I'd love to be able to watch netflix movies as well, and I think we will see that at some point. Hopefully once Netflix makes that possible, I can integrate that into the app.
I'm also going to implement a friends feature, where you can mark your favorite movies and share it with friends, and see what their favorites are.
Comments from other folks are welcome!
My first impression of the app is that it has some shared elements with amazon's web page, which is great. But the reason I say first impression is that it isn't registering with netflix.
Sent from my Xoom the way it should be, rooted and with SD card.
chbennett - thanks for testing. Can you give me some more info on the problem you had registering? When clicking almost anything it should prompt you to register. If you say ok, it should take you to a Netflix web page. You may have to log in and then it should prompt you to give permission to the What To Watch application. If you approve,it should take you back to the app and you should be able to run any of the searches on the left.
Where did you run into problems?
I installed it on my XOOM. Log in into Netflix without any problems. Searching also good, but could be good to add additional information about movie like Availability (for some of it shows when it will be available in stream).
It's a pity that we still missing Hulu or Netflix apps on our XOOM. Get used to watch it on my iPad(
greno1 said:
chbennett - thanks for testing. Can you give me some more info on the problem you had registering? When clicking almost anything it should prompt you to register. If you say ok, it should take you to a Netflix web page. You may have to log in and then it should prompt you to give permission to the What To Watch application. If you approve,it should take you back to the app and you should be able to run any of the searches on the left.
Where did you run into problems?
Click to expand...
Click to collapse
Basically all it did for me (ill try it again) was stall out on the "registering with netflix" in app pop up, going no further.
Edit: still doesn't work
Sent from my Xoom the way it should be, rooted and with SD card.
Great app! Forcecloses when I click on New Instant Choices under Top Lists category
Also when going into the Instant Que list; I click one of the movies and it takes me to the description. I can also click on Similar, Drop from Instant or Add to Disc. If I choose Drop from Instant and click the back arrow it still shows in the Instant Que listing. Can we have the option of clicking the Instant Que button on the top left corner in the movie description to go back to the Instant Que listing and if we do happen to press the back arrow could the Instant Que listing automatically update with the removal of the movie?
Kozdoba - I will be adding additional information like directors and awards, but I'll also look at adding availability. Do you have an example title in mind I can test with?
bishop72 - thanks for finding the problem with the New Instant choices. I'll look at that one, but it may be because that's a really big list and I'm not handling it correctly. Also, good idea about removing titles from the instant titles if you click the remove from instant button. But the problem with that for me is if I remove it from the list, it should probably close that title window because it's no longer in the instant queue. Maybe someone hit the remove button by mistake and they want to re-add it?
Also I notice that there is some type of caching going on with the adding and removing from queues. When you add or remove, it does that action and then sends another request to netflix to get the current status. But it may not register that quickly. So you may hit remove from instant, and then I get back a status from Netflix saying it's still in the instant queue. If you click it again, it shows up ok.
I appreciate the feedback - good or bad!
greno1 said:
Kozdoba - I will be adding additional information like directors and awards, but I'll also look at adding availability. Do you have an example title in mind I can test with?
Click to expand...
Click to collapse
Look this series soon will be available online.
http://movies.netflix.com/WiMovie/Death_Note/70081003?trkid=2361637
downloaded the apk to nook but just got a parse error failed to load. I really love my netflix and was looking forward to tablet style look on nc.
The app installed fine, the Netflix login auth worked fine as well. The fit & finish look good as well. Some of the images and searches render a bit slow, but that could be my wifi. I will play with it more through the day and report back.
I believe i heard that Netflix was going to do a live stream with Netflix only productions, so a Top List of Netflix Original or something would be good.
Everyone - thanks for testing and for the comments. I really appreciate it! It's interesting it worked for some but didn't work for dbolton. Not sure why that is.
dbolton - can you post a screen shot of your error, or email it to me at [email protected]? I also took a few screen shots so you can see what it should look like:
http://jigawattlabs.com/w2w/screen1.png
http://jigawattlabs.com/w2w/screen2.png
kiteOregon - once Netflix posts a list of their own content in some type of list, I'll definitely look at adding that. For the Top Lists section, I'm just using the Netflix RSS feeds linked from the bottom of the page. Modified it somewhat to return no more that 50 at a time though since it would load too slow.
Thanks again!
-Gregg
Thus far all is working well. I really like the interface too, great job!
I am going to keep tinkering with it and let you know if I run into any issues or have any suggestions.
Thanks for the great app!
chbennett said:
Basically all it did for me (ill try it again) was stall out on the "registering with netflix" in app pop up, going no further.
Edit: still doesn't work
Sent from my Xoom the way it should be, rooted and with SD card.
Click to expand...
Click to collapse
I heard that Netflix was having problems with authorization from 3rd party apps. As a work around the suggest launching your browser and log into Netflix. Leave the browser running, and then launch the app and try to register again. Can you let me know if that works?
-Gregg
garyh2 said:
Thus far all is working well. I really like the interface too, great job!
I am going to keep tinkering with it and let you know if I run into any issues or have any suggestions.
Thanks for the great app!
Click to expand...
Click to collapse
Thanks! Working to add more features.
somehow I now have a 'edit search criteria' icon (same as main apps icon) in my app drawer as if it were a separate app.
My initial reaction is very positive, but I have the same issue as garyh2. When I tell it to uninstall, I am informed that it is part of the main application so obviously I left it there. This is a weird bug though...
The only other thing I noticed is that the placeholder icons that appear before titles and images populate are slightly larger than the images and titles that replace them. This doesn't really cause problems but is slightly distracting.
I really like the power search function and the ability to save searches and haven't really seen this functionality elsewhere. Good job!
Thanks garyh2 and vidriera - ill take a look at that. The edit screen is a separate activity rather than a fragment, which is probably its somehow getting its own icon. Just one of the differences with honeycomb I need to figure out.
Also good point about the loading graphic. I'll fix that too.

RIP GenieWidget (aka News&Weather)

I posted recently about the weather section of GenieWidget dying. Now it looks like the whole shebang is gone
I even updated mine (which had the dedicated browser) to what appears to be the last version for Eclair (1.3.04) (which opens selected stories in your default internet browser). Still no dice. Google has left this old version on the ash heap of android history.
So...now what? I still have a working BBC News app (though the annoying ticker at the top is stuck on an ancient story...), a copy of the once-free NewsHog that still works, and the NPR app. All three of these have scrolling issues even worse than those of the old GenieWidget (which was actually almost tolerable with the OC kernal).
I've been looking around. Anyone have news apps with some breadth like the old GenieWidget that still work?
And the winner is......
Well, maybe not exactly a "winner", but it's sort of an OK substitute. After much searching and trying out, I've come up with two candidates. One is the old NewsHog (the older free version that will still run on the NST). This is the most similar in coverage and some sources to the Google GenieWidget. No weather, though. It has longer article summaries than GenieWidget did and you have the option of opening the full story in either the built-in reader or your browser. The built-in reader has scrolling issues. You need to keep your gutters really clean and develop a quick thumb flick at the bottom right corner of the screen (similar to the BBC News app)--or open stories in your browser. The issue there, of course, is the slowness of the entire process every time you want to pursue a story.
A second candidate is called News Republic. The market version will not run on the NST but I did find an older one that will. The interface is completely graphic. You choose news categories that you arrange in tiles on the app "homescreen". Each category tile takes you to pages (swipe across to move from page to page) that look like newspaper pages, with varied length columns (some with images) mushed together to make a rectangle. The columns have teasers to the stories. Selecting a column brings you to a nice reader which--TA-DA--actually scrolls beautifully (makes you wonder why these other people could not get it right.....). The downside is that it takes a long time to get it set up the way you want it (you do not need to set up an account). Also, there are a lot of fluff tabloid-like sources and categories, so you end up removing a lot in the initial set-up (the video section wants to work with its own player, but then just gives up and says the video could not be opened). And...there are not as many solid traditional news sources. No custom categories. AdAway works to block ads as I occasionally see a blank rectangle with the words "advertisement" along the bottom.
So, that's what I have found so far. I've attached both older apps in case you want to try them for yourself.
Edit: Some time in July 2016 this version of NewsHog stopped updating custom news categories so you only have the provided categories to choose from
Edit: Some time in February 2017 all versions of News Republic that will run on the NST became unable to log in. Another dead one. App removed from the attachments below

[APP][NST/G] BBC News

Back in Nov. 2018, the BBC News app (1.3.4) finally stopped working. Here's a browser-based replacement similar to my Google News app.
The BBC News website gives access to a considerable number of RSS feeds, likely much of the source of the old "carousel" of stories in the now-defunct app. My app collects the information from the RSS feeds of your choice and assembles them into a series of HTML pages suitable for Opera Mobile (see attached images below). It turns out that the actual BBC News website is pretty friendly to Opera Mobile, although--of course--a little slow, so any stories you choose to pursue are very readable. NoRefresh is nice.
Requirements
1. Android 2.1 has a security issue with opening local HTML files. In order for BBC News to work properly you need to address that. Included in the zip below is a tiny app, android-open-in-browser-0.0.4-4-debug. Install that. It's not my app but I have used it for years and wish I could credit the originator.
2. This is a Tasker-generated app. If you already have one of my other Tasker-generated apps or have previously installed GApps, you don't need the two Google maps library files included in the zip and can delete them. If you do need them, copy the two files into the locations shown below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
3. Create a folder in the root directory of your sdcard: BBC News (exactly as shown)
4. Install the app itself, BBC_News.1.apk
How to use
Before you run the app you need to select some news categories. You can get the feed URLs from the BBC News RSS page linked earlier. Only part of the URL is used in the file bbc_rss_feeds.txt. Here is the file as I have supplied it in the attached zip:
Code:
<cat>World</cat>
<url>/news/world/rss.xml</url>
<cat>US & Canada</cat>
<url>/news/world/us_and_canada/rss.xml</url>
I've just used two example feeds. You can see that the first line in each pair is a news category name (don't use names with "." in them). The second line in each pair is the last part of the RSS feed URL from the BBC News site. Be sure to edit out the first part of the URL or the app will not work. You can, of course, choose other/additional categories. Just follow my example. When the file is complete, copy it to the "BBC News" folder on your SD card.
Now you're good to go. Start the app, make sure you're connected to WiFi. There are only three buttons on the app screen. The first one, "Fetch the news" does just that. You will see a little toast that the first news category is being prepared. Once that is done, you will be taken to the browser and that page will open. Meanwhile the remaining pages are being downloaded and reconstructed in the background.
The news page is very simple. I tried to aim for readability over all other considerations (this is the reason the news items are in bold black, even though they are the external links). I have my Opera Mobile set to 100% page zoom. It looks good to me, but you could probably get away with 75%. External websites are another matter. At the title bar left is a drop-down menu button that gives you access to your other news topics. Since no fixed navbar schemes work under Android 2.1, there is a duplicate drop-up menu bar at the end of the page.
Edit: you cannot use this app with Opera Mini. It lacks the ability to open local HTML files.
The second option on the opening screen, "Read old news" sounds a bit daft, but I just thought maybe someone might have been looking at the topic pages, saw something that interested them and then got interrupted. So this option opens the first local file in the browser again and you can navigate from there. Strictly speaking, WiFi is not needed to browse the local files once they have been created, but it is needed to pursue any stories.
The third option simply dismisses the app screen.
Enjoy!

[APP][NST/G] BBC News Reader

9-4-21: Updated to version 1.4...chasing down more SSL issues. Uninstall old version before installing new one.
If you've taken a look at my BBC News app and then decided it just wasn't worth the hassle negotiating the BBC News website (what's with the keyboard opening and closing as the pages load?!), this new approach might be for you. BBC News Reader is an app for offline reading. No visits to the BBC News website at all!
How it works
On the front end, this app is the same as the BBC News app. You select some RSS feed topics and simple, clean HTML pages are generated for your browser with the various news items. That's where the similarities end. The new app then downloads the pages corresponding to the news stories, extracts just the article text, assembles clean, new pages and saves them to your SD card. Voila! You can read the news offline--anywhere.
Limitations
Well, it takes awhile... I have four news topics and it takes about 5 minutes to fetch and process everything. So maybe you run this while you're fixing your breakfast (or taking a shower). To make the time as short as possible, I have also limited the stories to the current date. If you've looked at the RSS feeds you know that things tend to accumulate and languish, especially in the less active feeds. After awhile items become history rather than news. So, just the current date. Also, you get no pictures (or videos you cannot play anyway). News items that refer to a page with just a video will have a very short text description so you'll know there's something missing. Items which are photo collections will have a list of captions. But everything looks good without any extraneous stuff. Unlike my local newspaper where each page seems to be assembled by a different monkey on a different medication, the BBC News pages are uniform and predictable. So far. Note that you cannot use this app with Opera Mini. It lacks the ability to open local HTML files.
Requirements
1. Android 2.1 has a security issue with opening local HTML files. In order for BBC News Reader to work properly you need to address that. Included in the zip below is a tiny app, android-open-in-browser-0.0.4-4-debug. Install that. It's not my app but I have used it for years and wish I could credit the originator.
2. This app utilizes cURL, a Linux utility, to bypass SSL checks and enable our aging device to download from the BBC News site. You must install cURL on your NST. Download the zip file (below), unzip and follow the directions to install cURL. Reboot.
3. This is a Tasker-generated app. If you already have one of my other Tasker-generated apps or have previously installed GApps, you don't need the two Google maps library files included in the zip and can delete them. If you do need them, copy the two files into the locations shown below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
4. Create a folder in the root directory of your sdcard: BBCNews (exactly as shown, no spaces)
5. Install the app itself, BBC_News_Reader_1_3.apk
How to use
Before you run the app you need to select some news categories. You can get the feed URLs from the BBC News RSS page. Only part of the URL is used in the file bbc_rss_feeds.txt. Here is the file as I have supplied it in the attached zip:
Code:
<cat>World</cat>
<url>/news/world/rss.xml</url>
<cat>US & Canada</cat>
<url>/news/world/us_and_canada/rss.xml</url>
I've just used two example feeds. You can see that the first line in each pair is a news category name (don't use names with "." in them). The second line in each pair is the last part of the RSS feed URL from the BBC News site. Be sure to edit out the first part of the URL or the app will not work. You can, of course, choose other/additional categories. Just follow my example. When the file is complete, copy it to the "BBCNews" folder on your SD card.
Note: if you have a copy of this file already because you have been using the original BBC News app, just copy the old file.
Now you're good to go. Start the app, make sure you're connected to WiFi. There are only three buttons on the app screen (screenshot below). The first one, "Fetch the news" does just that. The interface will disappear and eventually you will see a toast near the bottom of the screen telling you that the news is being prepared in the background. Once that is done, a second interface appears (screenshot below) with the options to either read the news or dismiss the interface. If you choose "read", your browser will open with the first news category. At the title bar left is a drop-down menu button that gives you access to your other news topics. Since no fixed navbar schemes work under Android 2.1, there is a duplicate drop-up menu bar at the end of the page. If you choose "dismiss" it's all done until you start the app again at which time you would select "read the news". No WiFi connection needed since the files are on your SD card.
<deleted>

[APP][NST/G] Mantano Reader [MOD]

Edit 1-8-23: I've updated the Mantano apk file. Seems there were still some issues with the aspect ratio of the default.png (book cover) image. Fixed now at 1.5!
I keep my NSTG on FW 1.2.1 because there are issues with Tasker and plugins on FW 1.2.2. The resulting apps are OK, but development is a problem unless I do it on FW 1.2.1. So that one device has B&N apps removed. AlReader has been my go-to reader app. Until now.
While working on some thorny issues with a Tasker app update I came across a book I wanted to read. Unfortunately it was only available in PDF format and AlReader can't handle that. I soon found that something like EBookDroid really couldn't deal well with a PDF file that begged for text reflow (problematic as that is). I wanted something that was at least as good as the stock reader. I could have just picked up one of my other NSTs and read the book that way, but when you abandon the B&N system you should at least break even, not lose. So I went searching through the forum for some ideas.
Mantano Reader caught my interest. Not only can it reflow PDF text (pretty much like the stock reader-don't get too excited), it can also display PDFs as a continuous scroll, with zoom. It can handle Adobe DRM books! And the TTS works (not a big deal). So I looked around and started with version 2.2.12 from Apkpure. This is the last version for Android 2.1. I found that full-screen reading was broken in this version and I couldn't see why, so I worked my way back until it wasn't broken. That was version 2.2.3.
Not for everyone
Those are some of Mantano's virtues, but it's not for everyone. I think it's chief drawback is the absence of full font support. There is only the default (admittedly not bad) and although there is provision for user fonts, there are issues. More on that later. Then there is the really tiny user interface. The colors render somewhat muddy on the NST also. Those are really tough issues to address, certainly beyond my pay grade. Also, none of the syncing, cloud, downloading of dictionaries, OPDS books, fulfilling of .acsm files, additional fonts, user manuals, etc., works. Can't be fixed. I looked. Finally, the reader options are pretty simple, about what is available for the stock reader (except for fonts). So if you like the hundreds of setting combinations in something like AlReader or FB Reader, this app is not for you. If you want something straightforward so you can just read a book without all the B&N hoopla, Mantano may be worth a look.
Mods
When I started getting serious about this I decided to try to learn by doing. My goal was to remove (or at least hide/disable) stuff that did not work. Almost all of my modifications were in the resources folder of the apk file. There was also one annoying issue with the aspect ratio of book covers that required a minor change in two smali files (thanks to @Renate). Here's a short list:
1. Removed Bookstore (OPDS) tab on home screen (formerly "My Catalogs" as described in User Guide)
2. Removed menu icons for sync and cloud
3. Disabled sections in Settings that don't work (Login, Sync, Dictionary download, Fonts, User Manual download)
4. Corrected font colors in some local dialogs so text is visible
5. Made the page number black, smaller, and with a transparent background for less visual distraction
Also, there were a few dialogs with invisible text that used the system framework to generate the window. The only way to fix this was to make a few very minor changes in framework-res.apk. This worked well and even helped with a few other apps that formerly had invisible text. A win-win. You can update your framework-res.apk using the CWM zip provided below. Despite its filename, it is not an "update" zip. You'll just be installing a zip file with CWM.
Making do
Overdrive Library epubs: No app will be able to fulfill .acsm files on the NST/G. The SSL is just not up to it. So there's no point in registering the device with Adobe. That just wastes one of your allowed devices and so I disabled that first Settings selection. However, the app can read Adobe DRM books, understands due-dates, etc. You just need to introduce your device to ADE running on your PC (ver. 3.0 works well for me on Windows) and transfer fulfilled books from there, just as you would with the stock reader.
Fonts: You can, in theory, supply your own TrueType fonts and place them in /sdcard/Mantano/fonts. When a book is opened, the lower menu options include "Themes". This odd term is for adjusting the appearance of the book (fonts, margins, justification, line spacing, colors). You can make a new theme or edit the default one. Either way, you will get to select a font. You will see the font you added in the folder (you can copy any font you like from /system/fonts or from anywhere else). The problem is that Mantano has no way to deal with font families. For example, I prefer Malabar. Of course, there is the base font, the bold instance, italic, bold italic. Mantano makes you choose one of these. Clearly you choose the base font (no need to copy over the others). If there are italics or bold type in a book, the reader uses the default font. This would not be such an issue for small sections of emphasized text, but the font scales are not the same. Malabar is larger than the default font. So any italics is obviously smaller. I tried a software package for scaling the font but it just turned it into rubbish. I am learning to like the default font. This issue was fixed in version 2.4.6, based on what I've read. But that won't run on the NST, of course.
Dictionaries: The reader has the ability to go out to find definitions on the WWW. Big pain. Although you can't download any dictionaries from within the app, Mantano does play nicely with ColorDict and there are plenty of dictionary options for that. Easy fix.
User Guide: I poked around and found a guide labeled "Version 2.1". That was the best I could do. It seems pretty close, although what was the "Bookstore" tab in this version (which I have removed) is referred to as "My Catalogs" in the manual. Either way, it's non-functional and gone. The same goes for references to cloud, accounts and sync. None of it works and all of it has either been removed from view or disabled in this mod.
Extras
Unlike AlReader and FB Reader, Mantano's main activity is the library view. That means there is no simple way to use the "reading now" status bar button to go directly to your current book.
I also like to be able to use the current book cover as a screensaver. AlReader and CoolReader both have this capability. Mantano does not, but it does create thumbnails for each book (if you let it) and one of those is screensaver size (default.png). For some unknown reason, all the thumbnails of various sizes for display in the library have the correct aspect ratio except for default.png. I fixed this in the app with a view to using it as a screensaver image.
To address these issues, I have used Tasker to create two small apps. Mantano_Extras1 enables a listener for when the reader is closed (either by two presses of the back button or simply by pressing the "n" button). When that happens, the Mantano database is queried for the last reading point/book. This is stored in a variable. Accessing Mantano_Extras1 after setup sends a command to open that file. If Mantano is your default app for epubs and/or pdfs, the book will open automatically to the right place without passing through the library. Thus assigning Mantano_Extras1 to the "reading now" button with NookTouch ModManager restores the function of that button.
Mantano_Extras2 does everything described above. During setup it also creates the folder /media/screensavers/CurrentBookCover. When the reader is exited and the database information stored in a variable, it copies the default.png for the current book to that folder. If you select that folder in your NST Settings app for the screensaver, the current cover will be displayed during sleep.
I should add that both apps check to see if the current book has changed before they do anything. If there is no change, they simply stop.
As these are Tasker-generated apps (but don't require Tasker to run), they have a dependency on two small library files. If you don't have one of my other Tasker apps already, you need to copy the two files in the zip as below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
The apps also use sqlite3 and busybox. If you rooted with NookManager you already have busybox. A few other special packages probably include it. If you have it, you will find it in /system/xbin. If it's not there, copy the file from the zip to that location and set permissions to rwx-rwx-rwx.
If you don't already have sqlite3, move the file from the zip to /system/bin and set the permissions to rwx r-x r-x.
When you have prepared the way, reboot and then install whichever of the two "Extras" apps you want. When you first tap on the app icon there will be a pause while things are set up and then a request for root access. Once that's done they are good to go. Use NTMM to assign the app to the "reading now" status bar button and set your screensaver directory to "CurrentBookCover" (if you installed Mantano_Extras2).
This is nice work. I have heard good thing about Mantano reader before. I believe it still exists although under new name I think. Its sad that you had to remove app options to make it work on NST. Still I am glad that you make some improvement that could if exploited properly make this device better than before. I believe that solving invisible text message is best of what you did and if understood properly can make number of apps that had this problem before usable again for this device. I would not dismiss even TTS working as I remember that someone tried to implement that on NST before yet I do not remember it was solved. So if it work out of box with Mantano reader it might be prudent to see what makes it work if it is fine TTS not some hardly intelligible sound generator. This options you removed how did you confirmed that they are not working? For cloud I believe it was NST lockout and now enforced TLS1.2 it can not reach that gives you hard time. Yet for syncing it is little harder to understand. For the rest like OPDS and such I guess my knowledge is not sufficient to guess how that even work so if you know more than me I am more than ready to listen.
SJT75 said:
I believe it still exists although under new name I think.
Click to expand...
Click to collapse
Now Bookari.
SJT75 said:
Its sad that you had to remove app options to make it work on NST.
Click to expand...
Click to collapse
I didn't so much remove options to make it work. It worked as-is, but not the login/download components, and they are not necessary for the reading functions.
SJT75 said:
I believe that solving invisible text message is best of what you did and if understood properly can make number of apps that had this problem before usable again for this device
Click to expand...
Click to collapse
It's possible. I noticed improvement in dialog boxes for ES File Explorer. But there are other types of dialog boxes and I only dealt with what was needed for this app. Spillover is a gift.
SJT75 said:
I would not dismiss even TTS working as I remember that someone tried to implement that on NST before yet I do not remember it was solved. So if it work out of box with Mantano reader it might be prudent to see what makes it work if it is fine TTS not some hardly intelligible sound generator.
Click to expand...
Click to collapse
Well, that could have been me. Pico TTS (if not removed) always worked on the NST if you downloaded some voices. I have a post about this somewhere with links. But the quality is really wretched. I looked at this further awhile back and found that Google TTS began with Android 2.2 (of course). There is a "bridge" system involving a custom settings app but each application must include this custom code to work. I did a MOD for AlReader to enable this, but it's not easy and would be (nearly) impossible for Mantano as very few of the smali files have descriptive names. Most are just "a.smali, b.smali", etc. So it's really difficult to track down what you want.
SJT75 said:
This options you removed how did you confirmed that they are not working? For cloud I believe it was NST lockout and now enforced TLS1.2 it can not reach that gives you hard time. Yet for syncing it is little harder to understand. For the rest like OPDS and such I guess my knowledge is not sufficient to guess how that even work so if you know more than me I am more than ready to listen.
Click to expand...
Click to collapse
It's not all SSL. Or it may be that also. The URLs in the apk file don't go anywhere, even on my PC browser. So far I've gotten up to version 4.5 and still no working URLs. Perhaps when Bookari emerged as the name the old URLs were abandoned and the old Mantano apps became crippled in this way.
Thanks nmyshkin you clarified some things. I agree that change to new platform and abandoning the URL domain for cloud use could be cause for that option not functioning anymore. Yet unless the syncing have not be performed through a same route (login account on the same domain) sync should function fine from one device to another for example. About the rest you are correct I have come to a same conclusion that even slight upgrade of Android on this device would make vast improvement in options available to exploit. Sadly B&N did not go that way. I will look upon PicoTTS to see if something about the way it actually work can be understood to evaluate if it is worth the effort or it maybe can be discarded as irrelevant for this device.
Just crossed my mind... nmyshkin did you tried to hunt down inside apk file exact spot where that URL is written/coded and change it to something else like IP address of your computer/drive/*/*/sync folder ?
SJT75 said:
Just crossed my mind... nmyshkin did you tried to hunt down inside apk file exact spot where that URL is written/coded and change it to something else like IP address of your computer/drive/*/*/sync folder ?
Click to expand...
Click to collapse
No, it didn't occur to me. I only read on one device so that's not the kind of thing that interests me. Also, I just transfer books over from my PC to the Nook when I get them, usually via FTP.
I did see cloud, sync, etc., URLs but I suspect that just changing them would not produce the capability you seem to be hinting at. It's likely a lot more complicated than that. It seems to me that syncing implies active communications from both ends. Teaching your PC to respond to the overtures of the Nook would be a whole other rats nest.
You are correct. Using URLs to connect to PC is not safe. Therefore some home workgroup network or SFTP access are more reasonable way. Maybe if you change cloud sink URL to Dropbox folder you get something?
SJT75 said:
You are correct. Using URLs to connect to PC is not safe. Therefore some home workgroup network or SFTP access are more reasonable way. Maybe if you change cloud sink URL to Dropbox folder you get something?
Click to expand...
Click to collapse
I don't think so. The app innards were designed for negotiating with certain remote servers and expect a certain dialog. Just changing the URL doesn't address these issues. Using Dropbox as an example, there are login credentials to be supplied and other issues to be addressed before files can be freely moved in either direction.
Well yes unless dropbox folder is public shared one what I wrote will not work. What if you link sync/cloud to internal folders on device inside Dropbox application that also initiate script written to execute Dropbox synchronization? Then login credentials would come from Dropbox app I think.
SJT75 said:
Well yes unless dropbox folder is public shared one what I wrote will not work. What if you link sync/cloud to internal folders on device inside Dropbox application that also initiate script written to execute Dropbox synchronization? Then login credentials would come from Dropbox app I think.
Click to expand...
Click to collapse
1. I am not a Java programmer. What you are suggesting is going to require significant changes in the app. It's not in the same league as the modifications I made.
2. I have no interest in the feature. People who must have synchronization with myriad other devices would be better served by selecting an app that currently has this feature working (like FB Reader).
3. If someone who is a Java programmer and is interested in this feature wants to take a crack at it, more power to them. I personally think it's a dead end. Just about the time you get it figured out, Dropbox will no longer work on the NST. Any modification that relies on exchange with an external commercial server has a built-in self-destruct timer, just waiting for tightening external server access rules. It's over for Android 2.1.
nmyshkin said:
Just about the time you get it figured out, Dropbox will no longer work on the NST. Any modification that relies on exchange with an external commercial server has a built-in self-destruct timer, just waiting for tightening external server access rules. It's over for Android 2.1.
Click to expand...
Click to collapse
Amen to that. Making NST more cooperative with Calibre is much better option anyway. Commercial server could be also a trap. There was an outcry when Remarkable for example started charging access to their services out of blue and without warning.

Categories

Resources