Cosm android client to update datastream for controlling RGB LEDs
- Eclipse with ADT plugin
- Android SDK with API version 8 (Android 2.2) and above
- Cosm Feed with datastreams named 0 (switch), 1 (red), 2 (green), 3 (blue), 4 (white)
- Cosm API key which has read/write privilige for the feed
- Internet connectivity
Create an XML file /res/values/secret.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="cosm_feed_id">YOUR-PACHUBE-FEED-ID</string>
<string name="cosm_api_key">YOUR-PACHUBE-API-KEY</string>
</resources>