The police were able to rescue a kidnapped 19-year-old Maryland woman with the help of text messages she secretly sent over her cellphone as her abductor drove her from a Baltimore suburb to Long Island , the Maryland police said .