ClearOS Mobile Starter Kit for Developers
- Font size: Larger Smaller
- Hits: 5514
- 5 Comments
- Subscribe to this entry
- Bookmark
We are happy to announce a cool new toy for developers - an Android app to get you started with mobile development! Please keep in mind, this is a developer demonstration with open source code to get started.
Installation
On your ClearOS system, install the server-side app for the Android app:
yum --enablerepo=clearos-updates-testing install app-mobile-demo
Once installed, you can find the demo under System > Developer > Mobile Demo. From that page you can click on Download & Install to get the app from Google play.
ClearOS Mobile Demo - Android
Tips
- 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 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.
Comments (5)
-
I just have installed the app... but when i press start it won't start
WHYY0 Like -
I always have admiration for people who can turn a program (GUI, etc) from just code. I don't how to say this correct I'll hope you understand. Really cool stuff.
0 Like -
Thanks Marcel!
I only have an Android, so that's why there's no iOS version. This is just a simple example meant to demonstrate a few common tasks such as authenticate against the new ClearOS 6x framework, make API calls, and send/receive JSON encoded data. It's not a very useful app, you're not missing much0 Like -
Cool stuff Darryl. Only i'm waiting for a version for iOS. So if there is a devoper interested...
0 Like