finally resolved android permission issues