Diogo,
Maybe you can cache the last content yourself when the application
finishes (or whenever you want).
Then when the application starts and you cannot connect to the internet
you show the last cached content.
I think that Qt Network module provides that facility, see
QNetworkRequest and QNetworkReply classes.
Best Regards,
Carlos
On 06-07-2015 12:50, Diogo Figueira wrote:
Hi all
i just wanted to know how i can do this.
Example, i have an app thats linked to a wordpress site and when i'm
connected to the internet, i see everything normaly, but when i'm not
connected to the web i see the last things there where on the site
(cache) and when i'm online again it will update automaticly the
cache, does some one how to do this??
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp