Bacterial biofilms have been implicated in several chronic infections. After initial attachment, a critical first step in biofilm formation is a cell inducing a surface-sensing response. In the Gram-negative opportunistic pathogen Pseudomonas aeruginosa, two second messengers, cyclic diguanylate monophosphate (c-di-GMP) and cyclic adenosine monophosphate (cAMP), are produced by different surface-sensing mechanisms. However, given the disparate cellular behaviors regulated by these second messengers, how newly attached cells coordinate these pathways remains unclear. Some of the uncertainty relates to studies using different strains, experimental systems, and usually focusing on a single second messenger. In this study, we developed a tricolor reporter system to simultaneously gauge c-di-GMP and cAMP levels in single cells. Using PAO1, we show that c-di-GMP and cAMP are selectively activated in two commonly used experimental systems to study surface sensing. By further examining the conditions that differentiate a c-di-GMP or cAMP response, we demonstrate that an agarose-air interface activates cAMP signaling through type IV pili and the Pil-Chp system. However, a liquid-agarose interface favors the activation of c-di-GMP signaling. This response is dependent on flagellar motility and correlated with higher swimming speed. Collectively, this work indicates that c-di-GMP and cAMP signaling responses are dependent on the surface context.