|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPreferenceActivity
com.blogspot.applications4android.comicreader.ActivitySettingsPage
public class ActivitySettingsPage
Main class for comic-reader settings
Field Summary | |
---|---|
static java.lang.String |
LAST_SYNC_PREF
key storing the last time synced |
static java.lang.String |
LAST_SYNC_STRING_PREF
key storing the last time synced as a string |
static long |
ONE_DAY
milliseconds in a day |
Constructor Summary | |
---|---|
ActivitySettingsPage()
|
Method Summary | |
---|---|
static boolean |
checkForLastSynced(Context ctx)
Checks when was the last time sync was performed |
static void |
launchRepeatedCaching(Context ctx,
boolean force)
Start/setup the caching service |
protected void |
onCreate(Bundle savedInstanceState)
|
protected void |
onPause()
|
static void |
setupDefaults(Activity act)
Sets up the default values for background caching |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long ONE_DAY
public static final java.lang.String LAST_SYNC_PREF
public static final java.lang.String LAST_SYNC_STRING_PREF
Constructor Detail |
---|
public ActivitySettingsPage()
Method Detail |
---|
protected void onCreate(Bundle savedInstanceState)
protected void onPause()
public static void setupDefaults(Activity act)
act
- activity calling this functionpublic static void launchRepeatedCaching(Context ctx, boolean force)
ctx
- context usedforce
- forcefully setup the alarm even if background caching is currently disabled
This will NOT cache the strips, but'll only setup the alarmpublic static boolean checkForLastSynced(Context ctx)
ctx
- context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |