Including offline public transport routing into android app

Does that mean I’d have to give as start and end coordinates two pt stops?
Is there any way to make it work so that it routes from the nearest stop to each coordinate?