In the AnalogRead example, would the thing work if I remove or short the A0 and the ground pin?
I think you are confused because the ADC input measures voltage, not resistance.  

To convert from resistance to voltage you need to pull in the opposite direction on the variable resistance with a fixed resistor.  As in the following image from this tutorial.