Class WeatherWarningActivity
- java.lang.Object
-
- Activity
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherWarningActivity
-
public class WeatherWarningActivity extends Activity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WeatherWarningActivity.PlotPoint
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_RAINRADAR_UPDATE
static long
CREDENTIALS_FADE_TIME_DELAY
static int
RAINSLIDEDELAY
static java.lang.String
SIS_HIDEADMIN
static java.lang.String
SIS_HIDERAIN
static java.lang.String
SIS_ZOOMMAPSTATEBUNDLE
static java.lang.String
WEATHER_WARNINGS_UPDATE
static java.lang.String
WEATHER_WARNINGS_UPDATE_RESULT
-
Constructor Summary
Constructors Constructor Description WeatherWarningActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayOsmNotice()
Bitmap
getAdministrativeBitmap(Context context, int targetWidth, int targetHeight, int[] types)
WeatherWarningActivity.PlotPoint
getPlotPoint(float lon, float lat)
protected void
onCreate(Bundle savedInstanceState)
boolean
onCreateOptionsMenu(Menu menu)
protected void
onDestroy()
boolean
onOptionsItemSelected(MenuItem mi)
protected void
onPause()
void
onRequestPermissionsResult(int permRequestCode, java.lang.String[] perms, int[] grantRes)
protected void
onRestoreInstanceState(Bundle state)
protected void
onResume()
void
onSaveInstanceState(Bundle state)
void
popupHint()
void
updateActionBarLabels()
-
-
-
Field Detail
-
WEATHER_WARNINGS_UPDATE
public static final java.lang.String WEATHER_WARNINGS_UPDATE
- See Also:
- Constant Field Values
-
WEATHER_WARNINGS_UPDATE_RESULT
public static final java.lang.String WEATHER_WARNINGS_UPDATE_RESULT
- See Also:
- Constant Field Values
-
ACTION_RAINRADAR_UPDATE
public static final java.lang.String ACTION_RAINRADAR_UPDATE
- See Also:
- Constant Field Values
-
SIS_ZOOMMAPSTATEBUNDLE
public static final java.lang.String SIS_ZOOMMAPSTATEBUNDLE
- See Also:
- Constant Field Values
-
SIS_HIDERAIN
public static final java.lang.String SIS_HIDERAIN
- See Also:
- Constant Field Values
-
SIS_HIDEADMIN
public static final java.lang.String SIS_HIDEADMIN
- See Also:
- Constant Field Values
-
CREDENTIALS_FADE_TIME_DELAY
public static final long CREDENTIALS_FADE_TIME_DELAY
- See Also:
- Constant Field Values
-
RAINSLIDEDELAY
public static final int RAINSLIDEDELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
onSaveInstanceState
public void onSaveInstanceState(Bundle state)
-
onRestoreInstanceState
protected void onRestoreInstanceState(Bundle state)
-
onResume
protected void onResume()
-
onPause
protected void onPause()
-
onDestroy
protected void onDestroy()
-
onCreate
protected void onCreate(Bundle savedInstanceState)
-
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
-
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem mi)
-
updateActionBarLabels
public void updateActionBarLabels()
-
getPlotPoint
public WeatherWarningActivity.PlotPoint getPlotPoint(float lon, float lat)
-
onRequestPermissionsResult
public void onRequestPermissionsResult(int permRequestCode, java.lang.String[] perms, int[] grantRes)
-
getAdministrativeBitmap
public Bitmap getAdministrativeBitmap(Context context, int targetWidth, int targetHeight, int[] types)
-
popupHint
public void popupHint()
-
displayOsmNotice
public void displayOsmNotice()
-
-