O'Reilly logo

WordPress Mobile Applications with PhoneGap by Yuxian Eugene Liang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Notice how the strategy used in applying the techniques learned from the first five chapters is similar to the one used to apply on an open source theme. We are leveraging on custom_fields to provide us with customized data, while performing the same action of creating and reading posts via the JSON-API.

The main thing to take note, when replicating your code for the web to PhoneGap is the change in URL from http://localhost to http://10.0.2.2, since we are attempting to read and post data from the Android emulator.

With that, we have come to the end of this book. I hope you have learned a lot and seen the power of using WordPress and the JSON-API plugin together with PhoneGap. As a reminder, the support for this book can be found at http://wordpressphonegap.liangeugene.com ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required