É quase sempre mais difícil ensinar quando se deseja ensinar do que aprender quando se deseja...

2
É quase sempre mais difícil ENSINAR quando se deseja ENSINAR do que APRENDER quando se deseja APRENDER, por isso APRENDA como e quando poderes, pois o que nos SOMOS ou SEREMOS é resultado de tudo que APRENDEMOS ao longo da caminhada... Quem NADA APRENDE provavelmente NADA SERÁ. ONE LOVE, By: Yes, the WebKit DB is also limited to 5mo. You can trick the system with this solution: https://issues.apache.org/jira/browse/CB-330? focusedCommentId=13237796&page=com.atlassian.jira.plugin.system.issuet abpanels:comment-tabpanel#comment-13237796 Or you can use a native SQLite DB (same as WebSQL) with a phonegap plugin. That plugin save the database in the Document folder (or you can specify another folder), and there is no size limit and data is saved by iCloud. (But take care, Apple don’t really like apps wasting iCloud storage) Here is the Native SQLite phonegap plugin : https://github.com/davibe/Phonegap-SQLitePlugin Regarding this plugin, there are some differences between the WebSQL API, here is an adaptor:https://gist.github.com/2009518 And if the data are important, you should save it to a server. I wrote a small lib to synchronize the SQlite DB to a server : https://github.com/orbitaloop/WebSqlSync Just note the Webkit data delete issue is gone: In iOS 6 and later, web data (SQL Web Storage and LocalStorage) from a UIWebView object can be stored in a directory that will be backed up. To enable backing up this data, set the WebKitStoreWebDataForBackup key to YES in your app’s user defaults. This should be done only if your app relies on web content data that cannot be reloaded. If your UIWebView object opens links to arbitrary web content, this key should be set to NO. Toggling the value of this key will not preserve existing web view data. Eroo 0x80070057

Upload: tomas-chibai

Post on 06-Feb-2016

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: É quase sempre mais difícil ENSINAR quando se deseja ENSINAR do que APRENDER quando se deseja APRENDER.docx

É quase sempre mais difícil ENSINAR quando se deseja ENSINAR do que APRENDER quando se deseja APRENDER, por isso APRENDA como e quando poderes, pois o que nos SOMOS ou SEREMOS é resultado de tudo que APRENDEMOS ao longo da caminhada... Quem NADA APRENDE provavelmente NADA SERÁ.

ONE LOVE, By:

Yes, the WebKit DB is also limited to 5mo.

You can trick the system with this solution: https://issues.apache.org/jira/browse/CB-330?

focusedCommentId=13237796&page=com.atlassian.jira.plugin.system.issuetabpanels:commen

t-tabpanel#comment-13237796

Or you can use a native SQLite DB (same as WebSQL) with a phonegap plugin. That plugin

save the database in the Document folder (or you can specify another folder), and there is no

size limit and data is saved by iCloud. (But take care, Apple don’t really like apps wasting iCloud

storage)

Here is the Native SQLite phonegap plugin : https://github.com/davibe/Phonegap-

SQLitePlugin Regarding this plugin, there are some differences between the WebSQL API, here

is an adaptor:https://gist.github.com/2009518

And if the data are important, you should save it to a server. I wrote a small lib to synchronize

the SQlite DB to a server : https://github.com/orbitaloop/WebSqlSync

Just note the Webkit data delete issue is gone: In iOS 6 and later, web data (SQL Web Storage

and LocalStorage) from a UIWebView object can be stored in a directory that will be backed up.

To enable backing up this data, set the WebKitStoreWebDataForBackup key to YES in your

app’s user defaults. This should be done only if your app relies on web content data that cannot

be reloaded. If your UIWebView object opens links to arbitrary web content, this key should be

set to NO. Toggling the value of this key will not preserve existing web view data.

Eroo 0x80070057