Enter into the Gcam camera application! First, open up the night mode and then swipe down in the viewfinder to enable the Astrophotography mode.