Updated android samples to use indexer