Hi @minoo, thanks for getting in touch. You initially mentioned you had no success with the minimal samples?
Perhaps you are unaware we have produced a separate suite of sample programs dedicated especially for Interaction purposes which contain all the necessary code and steps required to implement your project (based upon your initial description)
You can check them out for free @ https://github.com/Tobii/interaction-samples
I believe the ‘forms samples’ should be exactly what you are looking for and thus save you the hassle of starting your own application from scratch. Please check it out and kindly let us know if you are still experiencing difficulty in getting started.