Making a dial on a smartphone