I hadn’t gotten around to putting Simple Java Mail into Maven Central due to the complexities of going through Sonatype first. But now it is done: Simple Java Mail v1.9 now resides in Maven Central and can be included in your project using the following dependency:

read on

NOTE: This article demonstrates a way to set up a database for private in-app use only. If you need to provide content to the outside world, this article is not for you.

You want use a database inside your application to store static or dynamic content, right? Then perhaps you went to the Android docs on creating databases? The first thing you’ll notice is that it mentions content providers and the NotePadProvider example of this principle. Once you start digging into that, you may very well get lost at first, consider how convoluted this system works, with uri’s, matchers, paths and all. It gets messy quickly with lots of constants denoting your exposed content URI’s on top of your database properties and mapping in between.

Toss all that out please, you don’t need it.

read on

Recently my WordPress instance crashed due to a faulty plugin update, resulting in a PHP error and rendering my blog useless. After overcoming the initial panic reaction, I realized i didn’t need to dive into the PHP code just yet: I could just disable the plugin in the database instead.

Here’s how, given you have access to the database.

read on

Since the Android SDK doesn’t come with the source code, you need to get it manually from the Google Git repo’s. Unfortunately, the tutorial is Linux oriented and convoluted. Fortunately, us pesky Windows users have people like Brad Chow and some helpful Asian folks that provide us with a solution out of the box.

Here’s a recap:

read on

Here’s a blatant repost of How to make Clover ignore private constructors by Alex Ruiz.

I was actually looking for a regular expression matching private constructors so that I could make Clover ignore these in the Eclipse plugin. His post is about how to configure Clover in Maven however, here’s how you configure the Eclipse plugin.

read on

Having several projects in Bamboo that share a repository, build script and libraries, it can be tricky to configure Bamboo build plans correctly; but it isn’t hard at all. I’m going to quickly show you how I configured Bamboo Plans for two projects that are in the same repository, but share a master library. This is a very common setup and the point is to make Bamboo build only for the plans if their associated project has been updated.

In addition to the shared master library folder, I’m going to include a master build.xml file as well and see how that works with the nested projects.

read on

I recently needed to move over my code base from a remote repository to another remote repository using Subversion. To accomplish this I used svnsync, as demonstrated by this excellent little article. Here’s a quick Windows version of that article, demonstrating a google code project migration.

read on

Very Simple Java Mail is no more. Long live Simple Java Mail!

Vesijama has been renamed to Simple Java Mail and the name Vesijama has been degraded to a working title. The reason: the title didn’t reflect the intention nor the function of the project and people complained about the outlandish name.

And so the project moved altogether to a new space at GitHub: Simple Java Mail.

For now the library jars have been renamed manually, but in the future the name will be incorporated in the sourcecode itself as well.

Happy mailing!

Just dropping by to put some useful links together for those following the events in Egypt.

ALjazeera is doing an outstanding job covering the Egypt events from the outside and inside, so really, all you need is Aljazeera. They provide reporting on several levels of detail.

So, in order of reporting detail:

  1. Aljazeera live feed, providing non-stop live visual footage and interviews with both experts and journalists on the ground (or look here for phones that don’t support Flash but do support Youtube)
  2. Combined list of tweets by journalists live on the ground in the thick of it all; rather thrilling at times
  3. Aljazeera’s live blog, reporting short bursts of information throughout the day which provides a global outline
  4. Tweets from Aljazeera’s main twitter account, reporting only the more important events
  5. In-depth reports on the most important events in the Middle East, of which Egypt obviously has complete focus
  6. The RSS feed of the above in-depth reports, to keep everything accessible from you mobile phone

Most of this is Twitter or RSS, so you can get everything synchronized in your mobile phone, with the exception of the Aljazeera live blog (which is very good for minute updates).

For those wondering what to do with the RSS feed, you can import it in any RSS reader app for your phone, but here’s what I do: get an account with Google Reader Feedly, subscribe to the RSS feed there, then install Feedly for Android (iPhone?) or some other Reader client such as NewsRob and auto-syncronize your Google Reader feeds in your phone with that.