Contains Android Java code for Mapper.
More...
|
void | onCreate (Bundle savedInstanceState) |
|
void | onNewIntent (Intent intent) |
| Call setIntent, as recommended for singleTask launch mode. More...
|
|
String | takeIntentPath () |
| Returns the data string from the intent, and resets the intent. More...
|
|
Contains Android Java code for Mapper.
◆ getDisplayRotation()
static int org.openorienteering.mapper.MapperActivity.getDisplayRotation |
( |
| ) |
|
|
inlinestatic |
Returns the display's current rotation.
◆ lockOrientation()
static void org.openorienteering.mapper.MapperActivity.lockOrientation |
( |
| ) |
|
|
inlinestatic |
Locks the current display orientation.
While a native "locked" mode comes in API level 18, this method tries to determine and lock the current orientation even on devices with lower API level. On these devices, the screen may be temporary in reverse orientation.
◆ onCreate()
void org.openorienteering.mapper.MapperActivity.onCreate |
( |
Bundle |
savedInstanceState | ) |
|
|
inline |
◆ onNewIntent()
void org.openorienteering.mapper.MapperActivity.onNewIntent |
( |
Intent |
intent | ) |
|
|
inline |
Call setIntent, as recommended for singleTask launch mode.
◆ setTranslatableStrings()
static void org.openorienteering.mapper.MapperActivity.setTranslatableStrings |
( |
String |
yes_string, |
|
|
String |
no_string, |
|
|
String |
gps_disabled_string |
|
) |
| |
|
inlinestatic |
◆ startService()
static void org.openorienteering.mapper.MapperActivity.startService |
( |
String |
message | ) |
|
|
inlinestatic |
Starts a foreground service with the given notification message.
◆ stopService()
static void org.openorienteering.mapper.MapperActivity.stopService |
( |
| ) |
|
|
inlinestatic |
Stops the foreground service.
◆ takeIntentPath()
String org.openorienteering.mapper.MapperActivity.takeIntentPath |
( |
| ) |
|
|
inline |
Returns the data string from the intent, and resets the intent.
◆ unlockOrientation()
static void org.openorienteering.mapper.MapperActivity.unlockOrientation |
( |
| ) |
|
|
inlinestatic |
Unlocks the display orientation by setting the requested orientation to unspecified.
The documentation for this class was generated from the following file: