1. https://appdevelopermagazine.com/android
  2. https://appdevelopermagazine.com/parse-local-datastore-lets-developers-take-apps-offline/
5/2/2014 10:13:27 AM
Parse Local Datastore Lets Developers Take Apps Offline
/parse-localstore_c80f81cj.jpg
App Developer Magazine
Parse Local Datastore Lets Developers Take Apps Offline

Android

Parse Local Datastore Lets Developers Take Apps Offline


Friday, May 2, 2014

Richard Harris Richard Harris


The new Parse Local Datastore is an updated feature in the Parse Android SDK that lets developers to take an app offline with just a few simple lines of code. ParseObject#pin() adds ParseObjects to the Local Datastore and ParseObject#unpin() removes them. Once pinned, they can be accessed anytime with a normal ParseQuery.

Pinned ParseObjects will remain accessible while offline, through app exits and restarts, until they are unpinned. Subsequent saves, updates, or deletes will keep the Parse Local Datastore results up-to-date.

Developers can also choose to update an object using ParseObject#saveEventually(). This will first update its instance in the Local Datastore and then remotely, so any changes can be kept up-to-date while offline.

This also means that developers already using ParseObject#saveEventually() to protect an app against network failures will get most of this without any additional work, simply by updating to the latest Android SDK and enabling Local Datastore.

Parse has made available a guide and API docs to take Android apps offline. An iOS Parse Local Datastore is in the works. 



Read more: http://blog.parse.com/2014/04/30/take-your-app-off...




Subscribe to App Developer Magazine

Become a subscriber of App Developer Magazine for just $5.99 a month and take advantage of all these perks.

MEMBERS GET ACCESS TO

  • - Exclusive content from leaders in the industry
  • - Q&A articles from industry leaders
  • - Tips and tricks from the most successful developers weekly
  • - Monthly issues, including all 90+ back-issues since 2012
  • - Event discounts and early-bird signups
  • - Gain insight from top achievers in the app store
  • - Learn what tools to use, what SDK's to use, and more

    Subscribe here



Featured Stories


Multiple language options when developing apps with Evoke
Multiple language options when developing apps with Evoke Thursday, May 21, 2026


When Social Listening Becomes Social Surveillance
When Social Listening Becomes Social Surveillance Wednesday, May 20, 2026


Medical debt relief custom-built platform moopFi launches
Medical debt relief custom-built platform moopFi launches Tuesday, May 19, 2026




Quant Pros Say AI Is Widening the Skills Gap
Quant Pros Say AI Is Widening the Skills Gap Monday, May 18, 2026


Tether QVAC SDK Powers AI Across Devices and Platforms
Tether QVAC SDK Powers AI Across Devices and Platforms Wednesday, April 22, 2026


APAC 5G expansion to fuel 347B mobile market by 2030
APAC 5G expansion to fuel 347B mobile market by 2030 Tuesday, April 21, 2026


How AI is causing app litter everywhere
How AI is causing app litter everywhere Tuesday, April 21, 2026


The App Economy Is Thriving
The App Economy Is Thriving Monday, April 20, 2026


NIKKE 3.5 anniversary update livestream coming soon
NIKKE 3.5 anniversary update livestream coming soon Friday, April 17, 2026


New AI tool targets early dementia detection
New AI tool targets early dementia detection Thursday, April 16, 2026


Stay Updated

Sign up for our newsletter for the headlines delivered to you

SuccessFull SignUp

Get More App News



/sites/themes/prod/assets/js/less.js"> ' ' %>