This application allows for the distribution of content. The content itself, as well as the format it is accessible in is configured through a Kinvey application.
In particular this sample application highlights the following key backend tasks:
- Configurable App experience through Kinvey
- In memory caching of data
- Offline storage
- Download the ContentBox project.
- Download the latest Kinvey library (zip) and extract the downloaded zip file, from: http://devcenter.kinvey.com/android/downloads
###Android Studio
-
In Android Studio, go to File → New → Import Project
-
Browse to the extracted zip from step 1, and click OK
-
Click Next and Finish.
-
Copy all jars in the libs/ folder of the Kinvey Android library zip to the lib/ folder at the root of the project
-
Within the
Top-levelbuild.gradle script, add the following repository:repositories { maven { url "http://dl.bintray.com/populov/maven" } } -
Click the play button to start a build, if you still see compilation errors ensure the versions are correctly defined in the dependencies list
###Finally, for all IDEs
- Specify your app.key and app.secret in the property file located at
assets/kinvey.properties - Visit The Kinvey Console, and create three collections within the Data section named
Content,ContentTypes, andMarkets. - When viewing the Data browser for each of these collections, click Settings -> import, and select the respective *.json file from the
assets/directory. - Within the console, visit the Users section, and click Add User. Give the test user a username and a apssword, which you can use to log into the application.
##License
Copyright (c) 2014 Kinvey Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.