Actually the library has been out for quite a while now, so you may already know/use it. However, since I first wrote the library, I have discovered the maven build tool (which is very awesome, if you configure it right).

Well Android Contact Picker is now available from the Maven Central repository and you can use it simply in your project by including the dependency in your pom file

Last I checked, if you use Eclipse, then you will need to download the project and import it into your workspace in order for Eclipse to be able to resolve the references.

However, if you use IntelliJ (which I now use for the library) then when you include the dependency in your pom file, it will download the project, import it, build and resolve all references related to the project. You can then be on your merry way building that awesome app of yours. Yeah I know, IntelliJ is cool in that regard.

This version is principally the same as the 2.1 version. So if that works for you, you can stick with it. Well, there is one small difference, custom phone number labels are now properly displayed instead of just the text “Custom”.

Up until now, in order to build and test GnuCash for Android, it was necessary to download eclipse, install the Android Development Tools (ADT) and also download the Android SDK. Then check out the project from git, import it (and its dependencies) into eclipse and then run as Android application to the emulator or connected Android device.

In a quest to simplify the build process, the GnuCash for Android project now supports Apache Maven build tool (currently in the develop branch). To be clear, nothing changes for the eclipse workflow. If you have checked out the project already and have it working in eclipse, then you don’t need to do anything. You can just continue doing git pulls and everything would work as it should.

For those who prefer to use maven (or prefer not to have to download eclipse), these are the steps you need to follow:

Download the Android SDKand set the environment variable ANDROID_HOME to point to its location. Also add it to your path.

Check out the Gnucash for Android project

Go into the sub folder ‘GnucashMobile’ and run mvn install android:deploy in order to install the app to your device.

If you want to build the whole project and run the tests, then create an Android virtual device named ‘Nexus’ in your SDK. Then run mvn clean install from the top folder of the source directory.

These changes should hopefully make it easier to build and test GnuCash for Android at various stages of development.

Internationalization

P.S. I am still looking for help with translations. So far we have Norwegian, German, Greek, Italian and Russian translations covered. If your language is not translated yet, then download and translate the strings.xml resource file and send to me. Remember not to translate key_xx and app_xx resources. Thanks!