Sign, zipalign and to market, to market with Maven

So you got your Android application building with Maven and the instrumentation tests running on the continuous integration server give you an all green. Features are good on your application and you think it is time to get it on to the Android market and among users to get some feedback. What now? I will show you how you can get your Android package ready for upload…

Read more →

Multi Module Android project in Eclipse

Recently there has been some discussion on the Maven Android Developer list about getting multi module projects working in Eclipse and IntelliJIDEA. I use IntelliJ IDEA every day and it works very well for me even though there are some improvements needed. Eclipse on the other hand is something I know my way around well enough, but just never warmed up to it. But I knew that I had the Maven Android Plugin Samples multi module project MorseFlash working at some stage. And it seemed like I am the only one. So I promised to document how I have it set up….
Read more →

Maven Android Plugin with zipalign and improved verification

With the latest release of the Maven Android Plugin a bunch of changes I did went out to the rest of the users of the plugin. As of version 2.5.0 the plugin has improved verification of the sdk platform and api level, a new zipalign goal and maybe the emulator start works on windows too. And the samples have been expanded and changed to use the Android jar artifacts from Maven central. But lets look at the changes of the plugin in detail today and maybe the samples another day…
Read more →

Android Artifacts hit Maven Central

It all started now quite a while ago when I got involved with the Maven Android Plugin and found that having to run a bunch of mvn install file commands sucked. I launched a ticket in the Android issue tracker that got rejected by Google even though there was clearly a community demand for the Android jar artifact to hit Maven central. As a next best step I created the Maven Android SDK Deployer and things cruised along okay for a bit. And then out of the blue Robert Manning, from the awesome SQuirrel SQL Client project, contacted me about the status and issues with getting the jars into Maven central if they are built from the open source code drop. And with Robert things really moved.
Read more →

Automatically starting the emulator in your Android build

In the beginning writing apps for Android is easy. Then the usual things creep in. You start getting beyond Hello World examples and answers on mailing list, you begin refactoring code and features and you really need to make sure it runs on all platforms. Luckily there are helpers around. For the testing side of things the whole test suite around instrumentation tests is really great (although I wish they used testng and not junit as the base) and now this is finally really well documentation on the site and not just in the samples code somewhere. However if you really want to use these you have to run your build against a device or an emulator (or better both). And thats where the Maven Android Plugin comes in handy.
Read more →

Attribute support for KSOAP2 on Android

So recently I have been doing a lot of Android development and generally having a great time. In general the Android API is very complete and offeres support for a whole lot of features and task. I did however have to find out that SOAP support is generally non existant. Given the widely known problems with SOAP and the trend towards simpler REST based services and the young age of the Android platform this is not too surprising. However in reality lots people still need to work with (legacy?) SOAP services. If you are in that situation you should read on.
Read more →

Recap Presentation about Maven and Android

So yesterday I went over to Vancouver to present about Apache Maven and how it can be used for Android application development. There were about 20 people in the audience with a very wide range of exposure to Android development and Apache Maven. From my impression and the feedback on the meeting site everybody has learned something and had a good time. Just in case you missed it the Apache Maven and Android Development presentation slides are now available in PDF format. There is definitely a desire to introduce more power in the build process for Android application development and Maven is able to deliver that to many users.:

I am pretty happy with feedback like

  • Great presentation, lots of details from a knowledgeable speaker.
  • Great technical presentation about developing Android applications with Apache maven. Lots of details, and very well presented.
  • Got useful tips on Maven and starting with Android dev setup
  • I was looking for a command-line method of building code, so this may be a solution. Good presentation
  • Interesting presentation, will definitely check out Maven a bit more now.