Smart Phone camera using photon?

I’m really new to photon and particle and was wondering if it was possible to use a smart phone camera as a security camera project we are working on. How could we go about this?

Possibly, but it’s hard to say without knowing more about what you’re trying to do. You could use a motion sensor connected to a Photon, that would trigger a publication, that the app on the phone could subscribe to. In response to receiving that event, the phone’s app could instruct the camera to take a picture. You would need to be able to keep the phone from sleeping, or have an app that can run in the background.

You could also use a Raspberry Pi and a camera module and replicate this project.