MetroPaper – “Connecting To Read It Later Failed”

Recently it seems that a few people have been experiencing an error when trying to sync MetroPaper to Read It Later. The reason for this that some Read It Later clients are adding items to lists without the “title” attribute. I’ve got a fix for this currently going through Certification at the AppHub atm but heres a not so fun fix if you can’t live without your reading list for the next few days:

Paste this url into your web browser after changing the username and password fields.


https://readitlaterlist.com/v2/get?username=XXXXXX&passwordXXXXXX=&apikey=d0gAcUN4d12fvQ668bpfnYsje3T5B253&format=xml&count=500

The browser will give you an error about malformed XML like this:

However if you right click on the page and press “View Page Source” the data is all there and looks something like this:

<?xml version="1.0" encoding="UTF-8"?>
<status>1</status>
<list>
  <item>
    <item_id>153789565</item_id>
    <title>Hands on: Nokia 808 Pureview review | News | TechRadar</title>
    <url>http://www.techradar.com/news/phone-and-communications/mobile-phones/hands-on-nokia-808-pureview-review-1066719</url>
    <time_updated>1334566322</time_updated>
    <time_added>1334340017</time_added>
    <state>0</state>
  </item>
  <item>
    <item_id>154147116</item_id>
    <url>http://t.co/gwj3QwBD</url>
    <time_updated>1334524919</time_updated>
    <time_added>1334486989</time_added>
    <state>1</state>
  </item>
...

If we look at the second Item we realise it’s one of these offending articles causing the sync error. If we mark it as read using the read it later webview then switch to the “read” view and delete it using the little bin icon then MetroPaper will sync correctly.

Again a fix is already under certification along with a redesigned settings section and a few new features and should be live within a week of today.

SymPaper 3.3.3

Its been a while since I posted about SymPaper because I’ve been busy developing its windows phone counterpart MetroPaper. I started to write a big post on the upcoming changes but one of the testers @gosharpshooter beat me to it! Read all about the upcoming features of SymPaper 3.3.3 on his blog post over at The Tech Bishop.

SymPaper 3.3.3 is available on the Nokia Store now get it here.

MetroPaper 1.7

Tonight I finished the latest set of updates to MetroPaper and submitted them to the marketplace. Here is a quick run down of the latest changes this update will bring:

Full Screen Reader

Not to much to say here, its off by default but if you’d like more article showing per page this mode hides the status bar and minimises the amount of space taken up by the menu.

Context Menu For List Delegates

List delegates now have a context menu attached to them which opens up when you long press on them.

New Options

There are a number of new options available, so now they’ve been split into 2 main sections – Sync and Article Settings.

The way in which articles are fetched when syncing can be changed between All Articles or Unread Only. The number of articles fetched each sync can also be changed from the default of 500 to 250, 100, 50 or 10.

Articles can now be set to be marked as read as soon as they’re opened – not a feature I’m a fan of but its something that has been asked of since I first made SymPaper. The font size can now be selected in a much more friendly way here instead of from the menu in the article page. The theme styles are the same with the addition of a new ‘Auto’ setting. Auto means that during the hours of 7am and 8pm the light theme is selected for articles but outside of those hours the dark theme is automatically selected.

Other Changes

As well as all these larger changes the following smaller ones have been made too:

The lag when switching between read modes has now been reduced significantly and shouldn’t be noticeable any more.

“Copy Url To Clipboard” has been added to the menu in the article viewer.
Added latest article info to the main live tile

Images are centre aligned and scaled up to maximize the available viewing space available

When syncing a single item the article title is now pre appended to the article

Character issues with non Latin chars in article titles have now (hopefully) been resolved

When pinned to the home screen, the default tile will show the latest unread article on the back of it

This update should be in the WP market place in just over a week  and ill update this post and be tweeting about it when it does!

MetroPaper 1.5

MetroPaper hasn’t been in the Windows Phone marketplace for long but I’ve had a good amount of positive feedback and feature requests for it, so much so that the Read It Later team have given me access to V3 of their API (currently I was using V2). Being thrilled at being given access I’ve spent almost all of my free time developing and testing the new features it brings and over the weekend I sent a new build with the following updates to the marketplace for approval:

Images

The V3 api bring access to images and video in articles which should please everyone! However since flash isn’t supported in Windows Phone I’ve disabled videos being fetched otherwise an ugly place holder is displayed. For the meantime Images wont work offline and are pulled from the internet when an article is opened.

This behaviour can be disabled in the settings page which means just the plain text is displayed like in previous versions of MetroPaper.

Delete an article

The most requested feature for MetroPaper but strangely I cant remember it being asked for in SymPaper!

Improved List Delegates

List delegates are something I hated in previous builds of MetroPaper but I’m much happier with them now, where available the site host is displayed and a bar to the left can be used to to indicate whether the article is Read or Unread at a glance.

Other improvements

There are numerous bug fixes and optimisations that have been made in this build including (but not limited to) increased sync speed and improved search speed. The font size has also been reduced on the list pivot to increase the amount of space available for list delegates.

Whilst search speed has been improved it still needs a lot of work, to optimise its performance.

MetroPaper 1.5 is currently going through the app submission process and should appear in the Marketplace in the next few days!

Other Apps?

SymPaper (Symbian 3 Version) and MeePaper both will also receive the updates for images and the delete feature in time! (In fact I’ve already submitted an update to the Nokia Store for SymPaper adding the delete feature!)

MetroPaper – Read It Later for WP7

Finally my first Windows Phone 7 app has been published to the Windows Phone marketplace in the form of MetroPaper – A Read It Later Client for Windows Phone.

Moving from Symbian to Windows Phone hasn’t exactly been painless for me, since I relied on the apps that I’d made for Symbian fairly heavily in my day to day life.

Whilst there are apps for Read It Later and SimpleNote already in the WP market place I’d be lying if I said I liked them. So I did what every Software developer does when they don’t like something – made my own.

Any SymPaper user will find MetroPaper very similar, all SymPaper’s functionality has been duplicated here and I’m currently looking at getting my own version of image support working in this app which currently is looking quite promising. If I do get it to work the same idea should hopefully be backported to the Symbian and MeeGo versions.

This version of the App comes in paid for and trial flavours. Unlike the trial version of SymPaper, MetroPaper has no limitations its just a purely Ad supported version of the full App.

Get MetroPaper from the WP7 Marketplace now and let me know what you think on the App Page, via Email or on Twitter!

SymNote 2.1.2 Whitescreen Fix

A couple of days ago the Ovi/Nokia store started publishing Qt 4.7.4 apps for Symbian Anna which meant my latest build of SymNote (which has been sitting in pending since last year) could be released to all users not just those with Belle devices.

However it looks like there is a problem with the smart installer of the build sent up to the ovi store meaning some users are seeing a white screen on launching the app. What has happened is the (not so) smart installer hasn’t picked up the new Qt dependencies and so the app is failing to load correctly.

I’ve emailed the Nokia develop team to ask why that is but haven’t had a reply yet and I’ve sent another build up for approval hoping it’ll fix the issue.

In the mean time I’ve uploaded the Qt binaries so if you do have the white screen problem you can fix it yourself. Download and unzip the following files then install the .sis files on your device starting with the Qt 4.7.4 one first:

Download Qt 4.7.4

Download QtMobility 1.2.1 & QtComponents 1.1

SymPaper’s Scroll To Crash Bug

In SymPaper and by extension MeePaper there was a horrible long standing bug which I’ve never been able to repeat or debug successfully, sometimes it would happen, sometimes it wouldn’t. A comment from my the SymPaper App page sums the bug up pretty well:

The app is crashing very frequently and it goes like that: if I open and read an article and then go back to the main list with the 5 elements, whenever I press another article to read it freezes for 2 seconds and crashes.

Today I’m happy to say I’ve (fingers crossed) managed to fix the scroll to crash bug! I’ll be writing a blog post up shortly on what I was doing originally and what I rewrote to fix it.

Whilst the changes have been sent up to the Ovi Store I’m putting the new build of the SymPaper Demo here for download so you guys can see the fix in effect today! I’ve even increased the article limit from 5 articles to 10!

Get The SymPaper 2.9.0 Demo Here

P.S.
I’ve made the same changes in SymNote and its soon to be released MeeGo port MeeNote for good measure!

– EDIT 10/01/2012 –
The changes are live in the Ovi Store now :)

Split Entry With Belle And Anna

My previous post about split entry was pretty long but worked well for me on Symbian 3 Pr1.2 and Symbian Anna devices, however with the new Belle devices being shipped the same code doesn’t work on them reliably. Belle ships with Qt 4.7.4 which actually makes split entry very easy to use with just a single line of code needed in the main.cpp file of your project:

 QCoreApplication::setAttribute(Qt::AA_S60DisablePartialScreenInputMode, false ); 

This needs to be called after the QApplication has been created so it should look more like this:
 QApplication app(argc, argv);
QCoreApplication::setAttribute( Qt::AA_S60DisablePartialScreenInputMode, false );

Whilst this code is valid on Anna devices and wont cause any breakages / compilation errors it wont fire the split entry keyboard.

So for SymNote I’m using a slightly modified version of the code from my old post with the line mentioned above, here are the modifications:


main.cpp

#include <QInputContext>
#include "splitview.h"
int main(int argc, char *argv[])
{

 bool belle = false;
    #ifdef Q_OS_SYMBIAN
       
        QString version = qVersion();
        int size = version.length();
        if(
                size == 5 &&
                version.mid(2, 1) == "7" &&
                version.mid(4, 1) == "4"
        ){
            belle = true;
        }
    #endif

QApplication app(argc, argv);
QCoreApplication::setAttribute( Qt::AA_S60DisablePartialScreenInputMode, false );
SplitView sv(belle);
viewer.rootContext()->setContextProperty("SplitView", &sv);

....

This bit in the main.cpp file detects which version of Qt being used at runtime and if its Qt 4.7.4 then set a bool value (belle) to true. The value belle is passed to an updated version of the SplitView class made previously. The modifications for that class are as follows:


splitview.h

public:
    explicit SplitView( bool belle, QObject *parent = 0);
    bool belle;


splitview.cpp

SplitView::SplitView(bool b, QObject *parent) :
    QObject(parent)
{

    belle = b;
    qDebug() << "=== Using Belle Split Entry?" << belle;
    if( !belle ){
        VkbStateObserver* obs = new VkbStateObserver(this);
        connect(obs, SIGNAL(vkbStateChanged(int)), this, SLOT(keyboardStateChange(int)));
    }

}

void SplitView::enableSplitView()
{
#if defined(Q_OS_SYMBIAN)
    if( !belle ){
        //qDebug() << "Split Entry";
        MCoeFepAwareTextEditor *fte = CCoeEnv::Static()->AppUi()->InputCapabilities().FepAwareTextEditor();

        // FepAwareTextEditor() returns 0 if no text editor is present
        if (fte)
        {
            CAknEdwinState *state = STATIC_CAST(CAknEdwinState*, fte->Extension1()->State(KNullUid));
            state->SetFlags(state->Flags() | EAknEditorFlagEnablePartialScreen);
        }
    }
#endif
}

And that’s it! Basically all we’re doing is telling the SplitView class if we’re using Qt 4.7.4 and then if so ignore all the old split entry class stuff and using belle’s split entry implementation!

MeePaper – Read It Later For MeeGo Harmattan

MeePaper is a MeeGo Harmattan port of my Symbian App SymPaper.

It’s been in the Ovi Store for some time now but I’ve not gotten around to posting about it or writing an app info page for it.

I like videos so I made a quick one of me showing MeePaper, here it is:

Enjoy!

SymNote 1.3 & SymPaper 2.8 Updates

I haven’t posted about either of these Apps for nearly a month now so I’m going to give a run down of the updates for both apps since I last posted about them.

  • SymPaper 2.6 – 2.8
  • SymNote 1.2 – 1.3
This list will include the updates for both apps currently in pending at the OVI Store.
Until the next version of the Read It Later API is released SymPaper is pretty much finished and will only receive mostly UI updates, bug fixes and the odd minor new usability feature, here is the full set of changes from version 2.5.

Version 2.6

  • Removed Bookmark icons from list view
  • Margin around search area
  • Placeholder Text added to search bar
  • New light and dark theme available throughout not just in article view

Version 2.7

  • Options Screen with the following options
    • Pure font switch
    • Auto Sync On / Off
    • Theme Switcher
  • Switch theme moved from main menu
  • Fixed theme bug introduced in 2.6

Version 2.8

  • Back end changed to work like MeePaper
  • Reduced Memory Consumption
  • Scroll Bars in Menus
  • Minor UI Adjustments to List view and share screens
  • Article and List Themes are now independent of each other
  • Exit Removed From Main Menu
  • When adding an article if a fail occurs the loader now stops as expected

SymNote is still far from completed with the next major change being list support. I’ve only prototypes this and it is no where near ready for release. The following changes however are:

Version 1.2

  • Black editor theme for OLED screens
  • Black theme for meta data
  • Save settings on font size switch bug fixed
  • Fixed bug with non latin chars
  • Re organised list view slightly which has reduced some random crashes which were occurring before

Version 1.3

  • Added Delete Tags Dialog
  • Restructured App to improve the start up time of the app
  • View mode changes respect the filter
  • Remove exit from main menu
  • Clear tag filter by pressing X in the tag filter dialog

Let me know if you have any more ideas for other SymNote features!