Beispiel #1
0
 public void doEventAdd(int p_eid) {
   boolean ret = service.PromptLoginUI();
   if (ret) {
     OmsTask omstask = new EventAddTask();
     omstask.id = p_eid;
     omsService.queueTask(omstask);
     // showNotification();
   }
 }
Beispiel #2
0
 public void doEventSync() {
   boolean ret = service.PromptLoginUI();
   if (ret) {
     OmsTask omstask = new EventSyncTask();
     omstask.id = OmsTask.EventSyncID;
     omsService.queueTask(omstask);
     // showNotification();
   }
 }
Beispiel #3
0
 public void doContactLookup(int peopleid) {
   Log.d(TAG, "entering doContactLookup " + peopleid);
   boolean ret = service.PromptLoginUI();
   if (ret) {
     OmsTask omstask = new LookupTask();
     omstask.id = peopleid;
     omsService.queueTask(omstask);
     // showNotification();
   }
 }
Beispiel #4
0
 public void doContactLookup(int[] peopleids) {
   Log.d(TAG, "entering doContactLookup " + peopleids.length);
   boolean ret = service.PromptLoginUI();
   if (ret) {
     for (int i = 0; i < peopleids.length; i++) {
       OmsTask omstask = new LookupTask();
       omstask.id = peopleids[i];
       omsService.queueTask(omstask);
     }
     showNotification();
   }
 }