When I press the button(named \"current location\") it should shows current location(lat & long) on the textview(named \"tvAddress\") .But it\'s not working as I expect. It\
Your first two lines in onCreate method should be these ones:
super.onCreate(savedInstanceState); setContentView(R.layout.map);