shape recognition

Hello, as a noob here this is my first post.

I have been devloping a game for the nintendo ds, using the PAlib in devkitpro.
I have created a game that recognizes shapes a player draws on the touchscreen.
My intention is to transpose this little game to the android mobile platform, to be played on smartphones.

Can anyone tell how I could proceed in this quest?

Thanks in advance for your interestin my question