Skip to content

kii-dev-jenkins/KiiCloudStorageAPIDemo

Repository files navigation

Kii Cloud Storage API Demos

A variety of small applications that demonstrate the use of Kii Cloud Storage SDK. It includes samples of:

  • Application User Management
  • Object Management
  • File Management

Screen shots

Application User Management

  • Create and update with additional fields (Date of Birth and mobile number)
  • LogIn
  • Change password
  • Both Synchronous and Asynchronous Methods

Refer to KiiUserOperation class

Object Management

Note Sample Application which demonstrates how to use Object Storage to store note.

  • Object ClassName is demo_note
  • Fields are title, content and creator
  • Create, update, delete and view note
  • List all notes
  • Query notes by title, content and owner
  • Retrieve query results by batch
  • Asynchronous methods with cancel support

Refer to KiiNoteOperation class

File Management

Backup File Sample Application which demonstrates how to backup local files and download files.

  • Container name is demo_file
  • Upload local file with customized metadata to KiiCloud
  • Download, update, delete and trash a file in KiiCloud
  • List all working files in Kii Cloud
  • List all trashed files in Kii Cloud
  • Asynchronous methods with cancel support
  • Publish upload and download progress

Refer to KiiFileOperation class

#Getting Started#

##Requirements##

  • Support Android 2.2 and above

##Installation and Setup##

  • Download the sample app.

  • If you are developing in Eclipse with the ADT Plugin, create a project for the "KiiCloudStorageAPIDemo" sample app by starting a new Android Project, selecting "Create project from existing source".

  • Update the sample app with your own application ID and application key at AppInfo class.

  • The SDK javadoc is not automtatic visible in your eclipse project, you need to attach the JavaDoc(doc folder) to the Kii Cloud SDK jar file (lib folder).

  • Java API documenatation

All of the samples are licensed under the Apache 2.0 license, so feel free to use any of the code in your own applications as needed!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages