|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.cesar.quitesleep.operations.DialogOperations
public class DialogOperations
Constructor Summary | |
---|---|
DialogOperations()
|
Method Summary | |
---|---|
static void |
addAllContacts(Context context,
Function that add all contacts to the banned list in one separated thread, and show a progressDialog fow wait for it, and an handler for clear the arrayAdapter one habe been finished. |
static void |
checkMailService(Context context,
boolean isChecked)
Function that does the operations about start and stop the mail service |
static void |
checkSmsService(Context context,
boolean isChecked)
Function that does the operations about start and stop the sms service |
static void |
refreshAllCallLogs(Context context,
|
static void |
removeAllCallLogs(Context context,
Remove all call log objects from the ddbb for clean the call log information list. |
static void |
removeAllContacts(Context context,
Function that start the remove banned contacts from the banned list in a separated thread and use a progressDialog for wait for it, and handler for clear the arrayAdapter once have finished. |
static void |
syncContactsRefresh(Context context)
Sync the contacts data between SQLite and DB4O databases the first time if the db4o database is empty. |
static void |
synchronizeFirstTime(Context context,
Handler handler)
This function prepare the synchronization process and the objects creation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogOperations()
Method Detail |
---|
public static void syncContactsRefresh(Context context)
public static void addAllContacts(Context context,arrayAdapter, Handler handler)
public static void removeAllContacts(Context context,arrayAdapter, Handler handler)
public static void checkSmsService(Context context, boolean isChecked)
public static void checkMailService(Context context, boolean isChecked)
public static void removeAllCallLogs(Context context,arrayAdapter, Handler handler)
context
- arrayAdapter
- handler
- public static void refreshAllCallLogs(Context context,arrayAdapter, Handler handler)
public static void synchronizeFirstTime(Context context, Handler handler)
context
- handler
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |