public void doAddAsFriend(long fuid) { boolean ret = service.PromptLoginUI(); if (ret) { OmsTask omstask = new AddAsFriendTask(fuid); omsService.queueTask(omstask); showNotification(); } }
public void doContactSync(int peopleid) { boolean ret = service.PromptLoginUI(); if (ret) { OmsTask omstask = new ContactSyncTask(); omsService.queueTask(omstask); // showNotification(); } }
public void doEventAdd(int p_eid) { boolean ret = service.PromptLoginUI(); if (ret) { OmsTask omstask = new EventAddTask(); omstask.id = p_eid; omsService.queueTask(omstask); // showNotification(); } }
public void doEventSync() { boolean ret = service.PromptLoginUI(); if (ret) { OmsTask omstask = new EventSyncTask(); omstask.id = OmsTask.EventSyncID; omsService.queueTask(omstask); // showNotification(); } }
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(); } }
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(); } }
public void doEventAdd(int p_eid, int subcategoryid, int categoryid) { boolean ret = service.PromptLoginUI(); if (ret) { Log.d(TAG, "eid=" + p_eid + " cate=" + categoryid + " sub=" + subcategoryid); if (p_eid != -1 && subcategoryid != -1 && categoryid != -1) { EventAddTask omstask = new EventAddTask(); omstask.id = p_eid; omstask.subcategoryid = subcategoryid; omstask.categoryid = categoryid; omsService.queueTask(omstask); } // showNotification(); } }