GameMaker (all)

Camera & Gallery - Android


You must be logged in to obtain assets


A simple to implement and use camera and gallery importer for Android.

Allows the user to select an image from gallery or take a photo as a sprite.

Can tell you if the user denied the camera permission, cancelled taking the photo, or took the photo and have it loaded.

Call one function to launch the camera:


Or to open the gallery selector:


And one line of code in the Social Asynchronous event:

sprite_index = AndroidCamera_GetPicture(async_load);

See the included demo for a fully working example.

Important: Set your target SDK in Android settings to 23. (Or if it is already lower, leave it).

Need an Android extension or SDK Implementation?

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 2.0.1. Published July 28, 2017

Added code to correct the orientation of pictures in landscape and portrait respectively

GMS2 - Version 2.0.1. Published August 4, 2017

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait