JavaScript Programming Guide
This guide will navigate you through the SDK's basic features. You can review what is possible with the Kii SDK, and even get a head start with some sample code. After reviewing the guide, you'll be ready to dig into our SDK or check the JSDoc for more information.
Here are the steps to start developing your Android mobile apps.
Integrate the SDK and prepare your environments.
Follow the instruction in JavaScript Quick Start to set up the Kii Cloud and your local development environments. Also, set up the push notification environments as needed.
Leverage Kii Cloud features
Implement your mobile app by leveraging the necessary Kii Cloud features. For the overview of the available features, see Kii Cloud SDK.
We also recommend you to read Implementation Guidelines before you start the actual implementation.
Difference between Kii Cloud SDK for JavaScript v2 series and v3 series
There are two versions of Kii Cloud SDK for JavaScript: v2 series (ver 2.x.x) and v3 series (ver 3.x.x). We basically recommend using v3 series. In particular, use v3 series for new development.
The differences between v2 series and v3 series are as follows:
- A new feature
KiiApplication
is introduced in v3 series.- This feature allows multiple applications to be used simultaneously and multiple users to log in at the same time. For more information, please see Using KiiApplication (v3 series only) for more information.
- Callbacks are no longer supported starting from v3 series; use Promise instead.
- Due to this change, the progress callback is not available for Object Body upload/download in v3 series. See Uploading an Object Body and Downloading an Object Body for details.
- Although callbacks are still usable in v2 series, we recommend using Promise. See Using Promises for details.
- Titanium is no longer supported in v3 series.