ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


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:

System|Developer|Mobile Demo

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.
content/en_us/6_mobile_demo.txt · Last modified: 2015/08/11 11:41 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3A6_mobile_demo&1563420969