I am trying to develop an app that can take a snapshot of current location from Google map and send an email (All this by click of a button)
I would like to do this in the background.
Is this possible?
I was trying out:
But the above code supports FragmentActivity, I am developing the app extending an activity.
Is it possible to use the same code in extending an activity? if so how? I am getting error in the following place:
myMap = ((SupportMapFragment)getSupportFragmentManager().findFragmentById(R.id.map_pass_home_call)).getMap();