Search code examples
androidsdkguitarmusic-notation

Generating guitar chords image in Android SDK


Is there any way to generate images of guitar chords in Android SDK or do I need to create image in Photoshop etc. for every chord?


Solution

  • Check out the Canvas class. It allows you to draw images programatically. This way you could replicate the fretboard with an x-number of frets and strings and of course the positions of the chords related to the fretboard.
    I'd imagine you make a draw function for the fretboard and a draw function for different types of chords.

    Have fun!