Tellstick App

Send command to Telldus Tellstick with your Android phone and controll your electronics & ligth.
This is a Android App to connect to Tellstick Server.

Have not done anything on this for a long time so it is kind of dead :-(
  • Read list of devices from TellstickServer.
  • Send on and off command to Server.
  • The app is also available on the Android Market. Search for: Steelsquid
Here you can download the code: Google Drive

Screenshots


Dependencies (All needed jar is under the lib directory)

Java 1.6
Android SDK (http://developer.android.com/sdk/index.html)
Tellstick Server


Usage

To open this project in netbeans:
Download and install Android sdk from http://developer.android.com/sdk/index.html
(/opt/android-sdk-linux_x86)
Make all files under tools executable
Extract to disk and execute tools/android (See http://developer.android.com/sdk/installing.html)
Select 'Available Packages' and install Android SDK platform-tools, sdk platform Android 1.6.
Select 'Virtual Devices' and 'New'. Set data below and then create AVD:
Name: Android_1.6
Target: Android 1.6.
SD Card Size: 128MiB
SDCard: yes
AudioOutput: yes
Camera: yes
TouchScreen: yes
GPS: yes
Make all files under platform-tools and platforms/android-4/tools executable
In Netbeans 'Update Center' add this plugin: http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml
Then install the Android plugin. (See http://gerry.ws/2009/01/1074/how-to-setup-netbeans-for-android-development.html)
Inside Options/Miscellaneous/Android (/opt/android-sdk-linux_x86)

Install on Android:
The Android apk file is located under the dist directory (dist/SteelsquidTellstickApp.apk)
See http://www.brighthub.com/mobile/google-android/articles/37151.aspx

The app:
Start the Tellstick Server.
Under settings in the APP fill in the information for the server.
Then press OK.
Every time you start the APP elective units will be read from the server.

Short description of classes

org.steelsquid.tellstickapp.AboutActivity
About activity.
Show some information on this app. 
org.steelsquid.tellstickapp.MainActivity
Main activity.
Will read list of devices from server and display.
org.steelsquid.tellstickapp.R
This class was automatically generated by the aapt tool from the resource data it found. It
should not be modified by hand.
org.steelsquid.tellstickapp.ServerConnector
Read tellstick devices from TellstickServer.
Send on/off command to TellstickServer.
org.steelsquid.tellstickapp.SettingsActivity
Add information to the SteelsquidTellstickServer.
/res/drawable
Contains all icons
/res/layout/about.xml
The AboutActivity layout.
/res/layout/main.xml
The MainActivity layout.
/res/layout/menu.xml
The menu layout (when click menu button on phone)
/res/layout/settings.xml
The SettingsActivity layout
/res/values/strings.xml
String resources used in the application
AndroidManifest.xml
The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application's code.

ToDo

Read devices in thread and show a please wait dialog.

Revision history

2010-12-12   0.6   Initial release
2011-03-20   0.7   New icon
2011-05-09   0.8   Nothing new in the code but using Netbeans 7