Only feature, enables "move to SD card" feature. Free version is 1.4.1, as 1.4 contained a bug :(

From JUnit 4.7 you can use the ExpectedException Rule. See this article for details or simply use the snippet below.

@RunWith(JUnit4.class)
public class MyTest {
  @Rule
  public ExpectedException exception = ExpectedException.none();
  @Test
  public void throwsException() {
    MyClass obj = new MyClass();
    exception.expect(NullPointerException.class);
    obj.throwNpe();
  }
}

A simple way for selecting all contacts on the phone is by using the following snippet:

Cursor people = getContentResolver().query(
        ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
while (people.moveToNext()) {
    int nameFieldColumnIndex = people
            .getColumnIndex(PhoneLookup.DISPLAY_NAME);
    String name = people.getString(nameFieldColumnIndex);
}
people.close();

Simple ToDo v1.3 (free version) has been released. The single change is that there isn't any limit to the numbers of todos anymore.

Version 1.2 has been released. Updates to the "long press" menu with move todo up and down. Also added a title (name of the todo). Enjoy!

When developing for Android under Linux you often run into the task of debugging. This can easily be achived from Eclipse (which I use, but should (in theory) be easy under Netbeans) or whatever IDE you prefer.

For some reason Linux doesn't catch you device (at least not my version). When listing devices I get something like:

./adb devices
List of devices attached
???????????? no permissions

This can be fixed with a simple command:

./adb kill-server
sudo ./adb start-server

Now your device should be listed and is thus ready for debugging:

./adb devices
HT13HTJ18284 device

If not, check your settings on your phone. Debugging should be enabled for this to work!

For some reason my HP Envy with its touchpad is (once again) f*cked. On simple fix is as follows:

  1. create the file /etc/X11/xorg.conf.d/51-clickpad.conf (notice that the xorg.conf.d probably doesn't exists, so this must be created)-
  2. Add the following to the configuration file:
    • Section "InputClass"
      Identifier "Default clickpad buttons"
      MatchDriver "synaptics"
      Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"

      #Next 3 items added just for the HP Mini to better control the clickpad
      Option "LockedDrags" "1"
      Option "BottomEdge" "4000"
      Option "AreaBottomEdge" "4445"

      EndSection

  3. Do a login again for the changes to take effect.

Hopefully this will be fixed in 12.10.

Version 1.1 has been released. Contains "contextual menu" or "long press" menu with edit and delete elements. Enjoy!

Simple ToDo v1.0 has been release on Android Play - a free version and a full version.

It features a simple list of to do tasks. Each task consists of a title and a optional description. The free version is also subject for advertisements and can only contain 5 to do tasks. The full version is ad free and you can add all the to dos you want, no restriction at all. So please show your support and purchase the full ad free version :)

I could spend a long time writing a tutorial on how to use Spring-WS. Instead, I'll asume that you use maven:

mvn archetype:create -DarchetypeGroupId=org.springframework.ws -DarchetypeArtifactId=spring-ws-archetype -DarchetypeVersion=2.0.4.RELEASE -DgroupId=com.mycompany.holiday -DartifactId=holidayService

This will generate all you need, a pom.xml, a Springified web.xml and a spring-ws-servlet. The rest should be straight forward. If not, have a look at the documentation.  


Hell no, I just upgraded from Spring 2.5.6 to Spring 3.1.1 and Spring-WS 1.5.9 to 2.0.4 - with no fuss. Simply changed the version number in my top pom and ta-da.

Thanks to all the Spring developers, pure power!