While testing a location based app in Android 4.4 we were able to properly see and use map via Android maps v2
Since the time I upgraded to Android L it is not able to fetch MapFragment with the following code:
In MainActivity there's a FrameLayout in which I load ShowMapFragment.
In ShowMapFragment there is a MapFragment to display map.
Inside 'OnCreateView()' method
mapFragment = (MapFragment)getFragmentManager().findFragmentById(R.id.map); map = mapFragment.getMap();
mapFragment is coming as null. Any help on this?