Author Archives: Cris Kim

Text input length limit with jQuery

Requirements

jQuery (tested on 1.6.2)

Introduction
Limiting the character length on a text input is one of the most commonly used patterns in web applications. In this post I’ll go over an easily re-usable implementation that is compatible with Internet Explorer, Firefox and Chrome using jQuery
Considerations
Setting a character length limit on text input is fairly simple to implement. [...]

Posted in Uncategorized | Tagged , | Leave a comment

Android automated black box testing with Robotium

Requirements

Android SDK (version r11)
Robotium (version 3.0)
Eclipse Helios

Introduction
Automated tests are key in maintaining high quality software. They help catch bugs immediately when introducing new code and also ensure that new features do not conflict with existing functionality. Another advantage of automated tests, specially for Android applications is that it greatly speeds up testing when you have [...]

Posted in Uncategorized | Tagged , , | 1 Comment

Build your Android project in one step with Maven

Requirements
I will assume the following has been installed and configured.

Android SDK (r07 or later)
Maven 3 (version 3.0.3)

Set environment variable ANDROID_HOME to point to the root directory of the Android SDK.
Add ANDROID_HOME/tools to your PATH environment variable.

An Android project to build

Introduction
Building an Android project consists of 3 steps. The code is compiled to create an executable [...]

Posted in Uncategorized | Tagged , , , | Leave a comment