text search algorithms - Android