content:en_us:6_mobile_demo

Mobile Demo

The Mobile Demo is a sample framework for developing a mobile app for ClearOS. Please keep in mind, this is a developer demonstration with open source code to get started. If you would like to release a proprietary app based on the demo code, please contact us about licensing.

Installation

If your system does not have this app available, you can install it via the Marketplace.

You can find this feature in the menu system at the following location:

<navigation>System|Developer|Mobile Demo</navigation>

Tips and Tricks

ClearOS Mobile Demo

  • After you have added a new system to the application, you may have to wait up to 10 minutes before you start to see data synchronizing. This all depends on how many other sync accounts you have (GMail, Facebook, Twitter, Dropbox, etc). This is apparently “normal” behavior. The goal here is to show how running a synchronization service can be implemented.
  • The app will install on Android 2.1 and up, but older API versions do not support periodic data sync, this has to be done in some manual way. Periodic sync works from API level 8 (2.2.x FROYO) and up.
  • The password you use to authenticate with is never stored on the phone. It is used once to obtain a session cookie. These cookies will expire after 2 hours. You will be notified with a sign-in error when the session expired. I will be updating the ClearOS framework to extend sessions time-outs dynamically so this won't be an issue for future real world apps.

search?q=clearos%2C%20clearos%20content%2C%20Mobile%20Demo%2C%20app-mobile-demo%2C%20clearos6%2C%20userguide%2C%20categorysystem%2C%20subcategorydevelopers%2C%20maintainer_dloper&amp;btnI=lucky

content/en_us/6_mobile_demo.txt · Last modified: 2015/08/11 17:41 (external edit)