public class AMapLocationActivity extends RongBaseActivity implements IMyLocationChangedListener, android.view.View.OnClickListener
mContentView, mTitleBar
Constructor and Description |
---|
AMapLocationActivity() |
Modifier and Type | Method and Description |
---|---|
void |
activate(OnLocationChangedListener onLocationChangedListener) |
void |
deactivate() |
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onCameraChange(CameraPosition cameraPosition) |
void |
onCameraChangeFinish(CameraPosition cameraPosition) |
void |
onClick(android.view.View v) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onGeocodeSearched(GeocodeResult geocodeResult,
int i) |
void |
onMyLocationChanged(AMapLocationInfo locationInfo) |
protected void |
onPause()
方法必须重写
|
void |
onRegeocodeSearched(RegeocodeResult regeocodeResult,
int i) |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
protected void |
onResume()
方法必须重写
|
protected void |
onSaveInstanceState(android.os.Bundle outState)
方法必须重写
|
attachBaseContext, initStatusBar, setContentView
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class RongBaseActivity
public void onRequestPermissionsResult(int requestCode, java.lang.String[] permissions, int[] grantResults)
onRequestPermissionsResult
in class RongBaseActivity
public void onRegeocodeSearched(RegeocodeResult regeocodeResult, int i)
public void onGeocodeSearched(GeocodeResult geocodeResult, int i)
public void activate(OnLocationChangedListener onLocationChangedListener)
public void deactivate()
public void onCameraChange(CameraPosition cameraPosition)
public void onCameraChangeFinish(CameraPosition cameraPosition)
protected void onDestroy()
public void onMyLocationChanged(AMapLocationInfo locationInfo)
onMyLocationChanged
in interface IMyLocationChangedListener
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
protected void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
protected void onResume()
protected void onPause()
protected void onSaveInstanceState(android.os.Bundle outState)