Pid dc motor position control

Good evening
I would need to check the position of an engine via android (mobile phone)
everything is managed by arduino uno, with a motor driver, an encoder and dc motor connected, the code should have a text box where you can enter the desired position and a text box where the one reached is displayed
Can anyone give me information about it?
Thanks

Who help me please ??!!