abdroid touch input

Does anyone know how to get touch input for android I’ve tried this

            var touchState = TouchPanel.GetState();

            foreach (var touch in touchState)
            {
                if (touch.State == TouchLocationState.Pressed)
                {

                    score = taps.ToString();
                    taps++;
                }
            }

but nothing happens

Should work. Did you test it by setting a breakpoint inside the if?

I had an incorrectly typed if statement (not viable in the first post).