add pair.java to pair the height data of andriod app