|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActivity
org.hermit.android.core.SplashActivity
public class SplashActivity
An activity which displays a splash screen and then returns to the calling activity.
Field Summary | |
---|---|
static java.lang.String |
EXTRAS_IMAGE_ID
Extras key for the image resource ID. |
static java.lang.String |
EXTRAS_TIME_ID
Extras key for the splash screen display time. |
Constructor Summary | |
---|---|
SplashActivity()
|
Method Summary | |
---|---|
static void |
launch(Context context,
int image,
long time)
Launch a splash screen displaying the given drawable. |
void |
onCreate(Bundle icicle)
Called when the activity is starting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXTRAS_IMAGE_ID
public static final java.lang.String EXTRAS_TIME_ID
Constructor Detail |
---|
public SplashActivity()
Method Detail |
---|
public void onCreate(Bundle icicle)
icicle
- Saved application state, if any.public static void launch(Context context, int image, long time)
context
- Application context we're running in.image
- Resource ID of the image to display.time
- Time in ms for which the splash screen should
be visible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |