The software end of things consists of an Arduino sketch and an Android app ... One thing to note is that there are different firmwares for these HC-05 units. For more on that see this project.
Android apps for Arduino Bluetooth Control ... Fortunately, Bluetooth modules like the HC-05 and HC-06 can send serial signals wirelessly from your Android device straight to your microcontroller.