In iOS, there is one app which shows the path of the train you are travelling when GPS is on. TRAIN RADAR .. Please try this when you are travelling next time. I am unable to use for some obvious reasons.
Important Note:This website NEVER solicits for Money or Donations. Please beware of anyone requesting/demanding money on behalf of IRI. Thanks. Disclaimer: This website has NO affiliation with the Government-run site of Indian Railways. This site does NOT claim 100% accuracy of fast-changing Rail Information. YOU are responsible for independently confirming the validity of information through other sources.