Jan
2nd

Android Chord Transposer

I wrote my first Android app — a chord transposer. Usually when I’m writing a song I take out a pad and write down the chords I’m using, then try out the same progression in different keys according to what’s suitable for my voice. Since I do this so often I figured it’d be easier to create an app to do it for me. It’s simple, but it gets the job done! And faster than I can do it on paper.

Check it out on the Android market.

Posted in Android, Java, Music, Programming, Projects | Leave a comment
Tags: , ,
May
6th

Observable ArrayList

If you’ve ever needed or wanted to observe an ArrayList for changes, it’s easy to extend it so that it follows the observable pattern.

Continue reading »

Posted in Java | Leave a comment
Tags: ,
Apr
25th

Property Class Generator

Following my article on Dynamic and Parsable Properties, I decided to write a utility class that would parse a properties file and generate the class for it. This way, if you have a particularly large properties file, you don’t have to spend too much time on the class to read the properties.

Continue reading »

Posted in Java | Leave a comment
Tags: ,
Apr
23rd

Dynamic and Parsable Properties

The Properties class allows you to store and retrieve static String property types from files. I wrote two classes that makes Properties “dynamic” (so that you can reference the values of other keys) and parsable (so that instead of returning all String types, you can parse other supported types).

Continue reading »

Posted in Java | 1 Comment
Tags: , ,
Jan
8th

Java Crypter, Hasher, Masker, Truncater

I wrote a set of classes that make encrypting, decrypting, hashing, masking, and truncating data a little easier. I chose a generic design so that the API can be extended to include other, complex objects. To use it, you can include the JAR in your project (download the JAR and source here). It includes several test classes in the net.chiappone.crypt.test package for example usage. In this article I’ll show some of these examples with their corresponding output.

Continue reading »

Posted in Java, Projects, Security | 1 Comment
Tags: , , , , ,
Dec
31st

Extract text from a PDF file

This example shows you how to parse the text from a PDF file using Apache POI.

Continue reading »

Posted in Java | Leave a comment
Tags:
Dec
31st

Extract Text from a .DOC File

This example shows you how to parse the text from a Microsoft Word file (prior to the 2007 version) using Apache POI. If you want to parse a .docx file instead, click here.

Continue reading »

Posted in Java | Leave a comment
Tags: ,
Dec
30th

Klondike

Following my Minewsweeper game, I thought I’d work on another classic computer game — Klondike (better known as Solitaire). Complete source code is available here.

Continue reading »

Posted in Projects | 1 Comment
Tags: ,
Dec
30th

Minesweeper

I wrote this simple Minesweeper game when offering the challenge to a friend who was trying to get back into programming. It turned out to be a fun little project so I figured I’d share the code here for those who are interested.

Continue reading »

Posted in Projects | 3 Comments
Tags:
Dec
30th

Updated my site

Wow, it’s been a while but I’ve updated my site. In doing so, I’ve retired my old website (ComputerCranium) and integrated it with my personal website (where you are now). This way I’ll be able to have all my postings in one location but under separate categories. I hardly used the other site anymore, so this will give me the opportunity to update just the one site on a more regular basis.

Posted in Announcements | 2 Comments