public class ATAKActivity extends MapActivity implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
Modifier and Type | Class and Description |
---|---|
static interface |
ATAKActivity.OnShutDownListener |
class |
ATAKActivity.ShutDownReceiver |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVITY_FINISHED |
static java.lang.String |
BACKGROUND_IMMEDIATELY |
static java.lang.String |
TAG |
Constructor and Description |
---|
ATAKActivity() |
Modifier and Type | Method and Description |
---|---|
void |
addOnShutDownListener(ATAKActivity.OnShutDownListener l) |
void |
fireActionBarListeners()
Deprecated.
No longer used
|
int |
getActionBarHeight()
Deprecated.
No longer used
|
MapView |
getMapView()
Should return the MapView from the client defined layout
|
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onBackPressed() |
void |
onConfigurationChanged(android.content.res.Configuration config) |
void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onLowMemory() |
boolean |
onMenuOpened(int featureId,
android.view.Menu menu)
Attempt to set the NavigationBar color on the S8, but does not work.
|
void |
onNewIntent(android.content.Intent intent) |
void |
onPause() |
boolean |
onPrepareOptionsMenu(android.view.Menu menu) |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onResume() |
void |
onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key) |
void |
onStart() |
void |
onStop() |
void |
onTrimMemory(int type) |
void |
removeOnShutDownListener(ATAKActivity.OnShutDownListener l) |
protected void |
setLockSelected(boolean bSelected)
Update selection state, and redraw the action bar
|
void |
setupActionBar(boolean ifNotSet)
Deprecated.
No longer used
|
protected void |
toggleOrientation() |
dispatchKeyEvent, executeOnActive, getMapAssets, getMapComponent, getMapComponent, isActive, loadAssets, loadListeners, loadRequiredAssets, onGenericMotionEvent, onTouchEvent, postOnActive, registerMapComponent, unregisterMapComponent
dispatchTouchEvent
public static final java.lang.String TAG
public static final java.lang.String ACTIVITY_FINISHED
public static final java.lang.String BACKGROUND_IMMEDIATELY
public void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class MapActivity
public void onSharedPreferenceChanged(android.content.SharedPreferences prefs, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
protected void toggleOrientation()
protected void setLockSelected(boolean bSelected)
public void onConfigurationChanged(android.content.res.Configuration config)
onConfigurationChanged
in class MapActivity
@Deprecated public void setupActionBar(boolean ifNotSet)
@Deprecated public int getActionBarHeight()
@Deprecated public void fireActionBarListeners()
public void onBackPressed()
public void onDestroy()
onDestroy
in class MapActivity
public void onStop()
onStop
in class MapActivity
public void onTrimMemory(int type)
public void onLowMemory()
onLowMemory
in class MapActivity
public void onNewIntent(android.content.Intent intent)
public void onStart()
onStart
in class MapActivity
public MapView getMapView()
MapActivity
getMapView
in class MapActivity
public boolean onPrepareOptionsMenu(android.view.Menu menu)
public boolean onMenuOpened(int featureId, android.view.Menu menu)
protected void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
public void onResume()
onResume
in class MapActivity
public void onPause()
onPause
in class MapActivity
public void onRequestPermissionsResult(int requestCode, java.lang.String[] permissions, int[] grantResults)
public void addOnShutDownListener(ATAKActivity.OnShutDownListener l)
public void removeOnShutDownListener(ATAKActivity.OnShutDownListener l)