5/2/2014 10:13:27 AM
Parse Local Datastore Lets Developers Take Apps Offline
https://appdevelopermagazine.com/images/news_images/parse-localstore_c80f81cj.jpg
App Developer Magazine

Parse Local Datastore Lets Developers Take Apps Offline



Richard Harris Richard Harris in Android Friday, May 2, 2014
4,690

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...

Get your Pi Day 2019 Shirt

Love Is Like Pi Never Ending T-Shirt Math Pi day Gift Shirt. Perfect Shirt to celebrate Pi Day 2019. Great gift whether you just love Math or you are a Math Student, Teacher or similar.

475 Tax Deductions for Businesses and Self-Employed Individuals

Are you paying more taxes than you have to as a developer or freelancer? The IRS is certainly not going to tell you about a deduction you failed to take, and your accountant is not likely to take the time to ask you about every deduction you’re entitled to. As former IRS Commissioner Mark Everson admitted, “If you don’t claim it, you don’t get it.

A hands-on guide to mastering mobile forensics for iOS and Android

Get hands-on experience in performing simple to complex mobile forensics techniques Retrieve and analyze data stored not only on mobile devices but also through the cloud and other connected mediums A practical guide to leveraging the power of mobile forensics on popular mobile platforms with lots of tips, tricks, and caveats.

Gps tracker for kids

The Chirp GPS app is a top-ranked location sharing app available for Apple and Android that is super easy to use, and most of all, it's reliable.

The Latest Nerd Ranch Guide (3rd Edition) to Android Programming

Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.