I bought a super cheap tripod from Amazon that came with a smartphone mount. Using that, I was able to turn on the “astrophotography” mode on my Pixel 4a and took the above photo. I live in an urban area, so the light pollution is pretty bad and there were lots of clouds out tonight. Nevertheless, I was able to capture a few stars in the sky.
The results would be much better if I was in an area that had lower light pollution. I’ve seen some amazing photos using the same mode when people are away from the city. I’m not usually in the wilderness at night but if I am, I will take some great photos.