Archive for the 'Maven Android Plugin' Category

Android Compatibility Library following Lint

I just uploaded Android Lint to the Central Repository recently as part of my work on the Android4Maven project and now my good friend and conspirator Jake Wharton and myself have done the groundwork to get the compatibility/support library V4 in revision 6 there as well. It should be there right now and you can use it in your project with

<dependency>
  <groupId>com.google.android</groupId>
  <artifactId>support-v4</artifactId>
  <version>r6</version>
</dependency>

This should help projects like ActionBarSherlock, Roboguice and others getting cleanly into the Central Repository too. if you want to see a working example just take a look at the pom file of the support4demos app in the samples for the Android Maven Plugin.

Enjoy,
manfred

PS: v13 should follow when some requirements to build it (ICS-MR2) are in central..

Android Lint available in the Central Repository

Ever since the Android Lint tool was released by Xavier, Tor and the rest of the great team at the Android Tools project, I thought this would be really great to have as a goal for the Android Maven Plugin. Since I am core committer and merge master of the plugin and implemented a bunch of goals already I had that side covered. Now I just needed to make the Android Lint tool available for the plugin.

Continue reading ‘Android Lint available in the Central Repository’

Apache Maven at AnDevCon II

With a sore throat I braved through the presentation about taking advantage of Apache Maven for your Android application development builds today in front of 40 or so people. I have the impression that the interactive session with demos was well received, but will find out more later. In any case for those of you who missed it the slides are now online for your pleasure. One of the main take aways for me was that we need to ref the plugin version to be at least beta or even better 3.0.0 final and then iterate and improve after because people have this perception that alpha means not stable… why do they think that ;-) The alphas of the Android Maven Plugin are rock solid and I have been using the in production for months..

In the spotlight

Having worked with Apache Maven since the Maven 1 days, committing on various open source projects around Maven and Maven usage, using Nexus and Hudson and finally writing the Android chapter of Maven: The Complete Reference, got me into working with the great people at Sonatype. And now they put me into the spotlight. It has been great working with Tim, Jason, Emily, Brian, Juven and all the others and I am looking forward to many more great projects we do together in the future.

Thanks!

manfred

Testing Android Applications – Going from Zero to Hero

Okay… my voice is better now that I had a cup of hot water after holding the workshop about testing Android applications and talking for 4 hours. I covered a lot of ground all the way from plain java testing via Instrumentation testing, Robotium, Robolectric, Borachio and more all the way to running it all on Hudson. Links, details and more are all in the slides.

I hope you will like it.

New Android Maven Samples

The samples supported by the community around the Android Maven plugin are a great resource to show how you can use the plugin for various use cases ranging from a simple app all the way to full release build examples or integration with native libraries, native code or external libraries.

Now I have updated the ApiDemos suite that runs instrumentation tests to use API level 10 instead of the old Android 1.5/API level 3 example and added a mavenized version of the sample code for the V4 compatibility library called support4demos.

Its all in the snapshot version in master on github now and ran just fine on Jenkins as well. Go check it out and come to my presentation at AnDevCon next week to learn more.

Android Maven Documentation Update

With my presentation about the Android Maven Plugin at AnDevCon coming up shortly and a huge bunch of changes in the plugin recently is was time to update the Android development chapter in the free book Maven: The Complete Reference. So it got it done and the lastest version available it up to date with the 3.0.0-alpha-12 release of the plugin.

I hope this is helpful and look forward to your feedback. Oh and if you want a hardcover copy there will be a book signing at AnDevCon where you could get a free copy.

See you at AnDevCon or on the Maven Android Developer mailinglist.

Manfred

PS: and if you want to help, send me a pull request on github!

Easier Android test reporting with Maven and Hudson

Despite being considered immature and/or a waste of time by many, automated testing of Android applicationis possible. Arguably it should be in the repertoire of any serious Android developer, but today I am not going to delve into this discussion and talk about Robotium, Robolectric and so on. I am just going to show you how it just got a lot easier .
Continue reading ‘Easier Android test reporting with Maven and Hudson’

Android Open Source Development Tools at OSCON 2011

I am at OSCON Java 2011 and just finished presenting about Android open source development tools covering the supplied default tools in the SDK and going way beyond covering libraries and tools for all sorts of aspects of Android application development. With just under 30 people in the audience I went through a whirlwind tour of Android IDE’s, development tools, suitable Java and Android libraries and a lot more.

The slides are available for download (smaller file) and should give you great resource to dig deeper since all links are right there and active. Following up on just a few of the ideas will hopefully make you a more productive Android developer and inspire you to participate and join open source Android activities.

Enjoy and let me know if they are useful for you

manfred

Update: Added a short version of the presentation that removes the slides for the transitions as requested by @shawnlauzon

AnDevCon 2011 in hindsight – Part 2

After a great start on Monday and Tuesday AnDevCon really got started for me with doing my presentations. Guess how I went?
Continue reading ‘AnDevCon 2011 in hindsight – Part 2′