You can preset answers (truth or lie) in the settings screen and ask them questions. Record their voice while they answer the question. The application will act like analyzing their voice and display the preset answer from settings.
If you choose to play for fun, just cancel all the settings and the application will respond randomly.
Disclaimer: This application is just a fun game and it is not a real life lie detector (polygraph).