Articles for April, 2010
Tuesday, April 27th, 2010
Here is an example on how to use the accelerometer in your Android application. If you want to simulate the acceleration on the emulator I highly recommend the Sensor Simulator on the OpenIntents website.
The following example app displays the coordinates received by the sensor. (more…)
Tags: accelerometer, Android, Api, sensor
Posted in Android, Snippet | 5 Comments »
Monday, April 26th, 2010
In this tutorial we are going to build a simple todo app that is able to store simple todos in a database. The user is able to add new todos or delete old ones by clicking on a todo. For this tutorial we won’t use maven to keep it simple – if maven integration is desired – take a look at this tutorial. (more…)
Tags: activity, adb, Android, example, htc desire, logging, mobile, sqlite, tutorial
Posted in Android | 7 Comments »
Saturday, April 17th, 2010
There is a nice Maven plugin helping you signing your Android app – the Maven Jar Signer Plugin. If you want to learn more about Maven integration in an android project take a look at this article. (more…)
Tags: Android, apk, jar, key, maven, pom.xml, sign, signing, smartphone
Posted in Android, Java | 1 Comment »
Thursday, April 15th, 2010
Searching for nice coding kata sites I found this one – codingkata.org – I really liked because of the quick start and nice maven integration.
Just head over to the kata overview select the kata you wish to try out, copy the generated maven command line option and run it in the console – heres the code for the hello-world sample: (more…)
Tags: coding, kata, learning, maven, training
Posted in Development | No Comments »
Tuesday, April 13th, 2010
The goal is to build a small macro plugin deployable via the Confluence plugin API rendering some spaces.
Please note that I am going to build the plugin using just Maven and not the Atlassian Maven Wrapper called the “Atlassian Plugin SDK” – more information about that is available at the Atlassian website.
The macro output will be rendered using a Velocity template and all messages are stored for i18n in properties files bundled with the plugin.
If you need to set up an instance of Confluence first, head over to this article. (more…)
Tags: Atlassian, Confluence, dependency injection, macro, maven, renderer, velocity
Posted in Confluence, Java | 10 Comments »
Thursday, April 8th, 2010
Having written the article “How to build a Confluence SOAP client in 5 minutes” some readers asked me for some more information and help using the JAX-WS plugin that I mentioned in the article instead of the Axis plugin – so here we go ;) (more…)
Tags: Axis, Axis2, jax-ws, maven, maven2, soap, tutorial, webservice, wsdl, wsimport
Posted in Java, Web Services | 13 Comments »
Tuesday, April 6th, 2010
They built a nice new feature in Grails 1.2 called “named queries“. Named queries can be defined in a domain class as static properties and support the criteria builder syntax. (more…)
Tags: criteria builder, gorm, grails, groovy, hibernate, named queries, persistence
Posted in Development, Groovy/Grails | 2 Comments »
Sunday, April 4th, 2010
In a maven project there are lots of dependencies to handle – often one wants to know which version of a software comes from.
The solution to this problem is the Maven Dependency Plugin which helps you to find used/unused/declared/undeclared dependencies in your project.
In addition the plugin allows you to copy or unpack artifacts. (more…)
Tags: dependency, maven, plugin
Posted in Development, Java | No Comments »
Saturday, April 3rd, 2010
Building a simple IMAP Client that displays the subject of the messages in the “inbox” Folder using Maven (I just like Maven). (more…)
Tags: imap, javax, mail client, maven
Posted in Java, Snippet | No Comments »
Friday, April 2nd, 2010
With the Maven Android Plugin it is possible to build and deploy/undeploy your android app and start/stop the emulator – if you’re used to maven you won’t be going without it ;)
If you’re interested in signing your apk using maven – take a look at this article. (more…)
Tags: adt, Android, eclipse, ide, m2eclipse, maven
Posted in Android, Java | No Comments »