Q:

How to ask for permission like this in Android

Hello im noob Android developer and i want to to make something like this image. It happens when i click the auto localization in gmap
http://imgur.com/Kdj5hiB 

A:

Do mean a dialog box like this? 
It's an alert dialog. And you will find very useful information about it and implementations of it in these documentation :). 
Android dialogs

