DEVELOPERS BLOG

OData v4.0 is Here – An Update for BlackBerry NDK is Now Available

By Ed Bourne, Enterprise Mobility Architect at BlackBerry.

Recently, OData V4.0 won approval as a new OASIS Standard. This is kind of a big deal, so if you’re not sure what it’s all about, check out my blog post from last year on the original OData client library for the NDK.

To support the release of this latest standard, we have an updated client for NDK users on our GitHub site.

So what’s new with this update?

The sample is now much simpler to build in Cascades. Simply open the OData and TestHarness projects from your BlackBerry Momentics IDE and build, though I do suggest changing the default OData server side example for a private one for yourself. See the README for more detail.

The library now includes support for v4.0 features like $filter, $count, $orderby, $skip, $top and $search.  Format switching between JSON and ATOM (ATOM is easier to debug, but JSON makes lighter queries in production).

I expect to see a lot more of OData v4.0 as server side gets deployed into products by vendors like SAP, IBM, Microsoft, and others. Give the update a try and let us know what you think!

BlackBerry

About BlackBerry

BlackBerry is an enterprise software and services company focused on securing and managing IoT endpoints.