Tag Archive for 'Maven Android Plugin'

Proguard for Android with Maven without shooting yourself in the foot

So with the introduction with the Android License Validation Library and now with the SDK tools revision 8 and the integrated options, Proguard has gained more and more interest in the Android developer community and users of the Maven Android Plugin are certainly not left behind. Of course Proguard is a fairly powerful tool that overs plenty of opportunity to get yourself into trouble or long debugging sessions. With this post I am going to show you how to best set up proguard usage in your Maven based Android application build. So lets get started.
Continue reading ‘Proguard for Android with Maven without shooting yourself in the foot’

Apache Maven, Android and Testing at AnDevCon

AnDevConAfter presenting about Apache Maven usage for Android development at the Vancouver Android Developer group and the Barcelona GTUG as well as the first Canadian Android Developer conference AndroidTO, I am taking another step forward. Coming March 2011 I will be presenting about using the Maven Android Plugin and associated tools from setup to publishing your application on the market as well as running continuous integration servers and working with instrumentation tests and related toolkits probably showcasing Robotium as well as RoboElectric.

It would be great if you could join me there as well as let me know if there is any specific topics in this context that you would like to see discussed.

I am also contemplating organizing some sort of Maven Android Plugin or even a more generic build tool related BOF or so. Would you be interested in something like that? If so let me know here or on the Maven Android Developers mailing list.

I look forward to meet you in San Francisco.

Manfred

Growth

I love how life keeps throwing opportunities and challenges at me and experiencing the personal growth I gain from taking them onboard and running with it. Recent things that I remember fondly are big changes like starting my own company, completing home improvement projects and of course every day again and again being a dad of three little, but fast growing rascally boys. Smaller things are reading and thoroughly enjoying books like ReWork. And then there are events like yesterdays AndroidTO developer conference for Android. It was the first such conference in Canada and in my opinion a huge success. I was invited to present by Puleen Patel and took up the opportunity and made my way all the way from Victoria.
Continue reading ‘Growth’

Hands on lab about Maven and Android development at AndroidTO

After doing successful presentations about using Apache Maven for building and managing your Android applications and related dependencies in Vancouver and Barcelona, I am have been invited to do a workshop at the Android developer event AndroidTO at the end of October in Toronto. More and more good patches and features are making into the Maven Android Plugin and there story for users just keeps getting better and better. I look forward to see all the other presentations, meet with other developers and share my stories.

Update: The presentation in front of close to 200 people went well and there was a lot of interest into continuous integration builds, using libraries and testing. For your please you can get the presentation file with the links to code samples and so on. Enjoy!

Maven and Android in Barcelona

Just a quick heads up that I will be presenting about Apache Maven usage for Android development in an updated version from my Vancouver presentation at the Google Technology User Group in Barcelona, Spain on the 10th of September. I look forward to the event and will let you know here how things went ;-)

Later..

I just came back from the presentation and uploaded the presentation file now (Maven Android Introduction GTUG Barcelona). The rest of the resources is available as part of the Maven Android Plugin Samples and the Roboguice project. The meeting itself was fun. There were over 30 other geeks in attendance and the presentation was regularly interrupted with laughter and questions, so I assume it was well received. I hope everyone learned a bit and will give Maven and Android a spin and send us some feedback.

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…

Continue reading ‘Sign, zipalign and to market, to market with Maven’

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….
Continue reading ‘Multi Module Android project in Eclipse’

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…
Continue reading ‘Maven Android Plugin with zipalign and improved verification’

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.
Continue reading ‘Android Artifacts hit Maven Central’

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.
Continue reading ‘Automatically starting the emulator in your Android build’