I know how to draw the device's camera into a surface in Android. However, I don't know how to write extension for Game Maker Studio (GMS) and cannot find any documents about it. Do you have example module code? Or does the GMS allow you to write/add Android/Java files to the project? If it's possible, I can provide you with the Java files as this way will be easier.