Your question is a bit like "Can you tell me how to change a tire on a vehicle made by Toyota?". The question appears to make some sort of sense, but lacks enough detail to be almost impossible to answer.
In your case, the important details might include:
- How you will detect the steps
- How you will display the results
- What devices are you targeting
The fact that you've identified Android studio as the development environment is almost unimportant.
As Bob says, you'd probably find more assistance elsewhere.