I have compiled and linked my code written in C and C++ and calling certain Windows APIs to a Win32 .exe using MinGW in Code::Blocks runnings on Windows XP. Selection throughout the GUI is by mouse click over. If I recompiled the code to run on an Android phone, would tapping the screen have the same effect as the previous mouse click over in Windows?



You will have a lot more to do than just recompiling as Android doesn't support Windows APIs. Also, getting native code onto Android devices is not simple - possible, but not simple, and much more difficult for 3rd parties to install. I would suggest that you rewrite the code in Java for Windows, and then recompile with Dalvik for the phone. With luck, it will run well in either case, assuming you only use the APIs that Android provides.